Table of Contents

Class OdfLengthExtensions

Namespace
OdfKit.Styles
Assembly
OdfKit.dll

Provides the OdfLengthExtensions API. 提供以數字建立 OdfLength 的擴充方法。

public static class OdfLengthExtensions
Inheritance
OdfLengthExtensions
Inherited Members

Methods

Cm(double)

Performs cm. 將 double 數值轉換為公分長度。

public static OdfLength Cm(this double value)

Parameters

value double

公分數值

Returns

OdfLength

對應的 OdfLength

Cm(int)

Performs cm. 將 int 數值轉換為公分長度。

public static OdfLength Cm(this int value)

Parameters

value int

公分數值

Returns

OdfLength

對應的 OdfLength

Em(double)

Performs em. 將 double 數值轉換為 Em 長度。

public static OdfLength Em(this double value)

Parameters

value double

Em 數值

Returns

OdfLength

對應的 OdfLength

Em(int)

Performs em. 將 int 數值轉換為 Em 長度。

public static OdfLength Em(this int value)

Parameters

value int

Em 數值

Returns

OdfLength

對應的 OdfLength

In(double)

Performs in. 將 double 數值轉換為英吋長度。

public static OdfLength In(this double value)

Parameters

value double

英吋數值

Returns

OdfLength

對應的 OdfLength

In(int)

Performs in. 將 int 數值轉換為英吋長度。

public static OdfLength In(this int value)

Parameters

value int

英吋數值

Returns

OdfLength

對應的 OdfLength

Mm(double)

Performs mm. 將 double 數值轉換為公釐長度。

public static OdfLength Mm(this double value)

Parameters

value double

公釐數值

Returns

OdfLength

對應的 OdfLength

Mm(int)

Performs mm. 將 int 數值轉換為公釐長度。

public static OdfLength Mm(this int value)

Parameters

value int

公釐數值

Returns

OdfLength

對應的 OdfLength

Pc(double)

Performs pc. 將 double 數值轉換為派卡長度。

public static OdfLength Pc(this double value)

Parameters

value double

派卡數值

Returns

OdfLength

對應的 OdfLength

Pc(int)

Performs pc. 將 int 數值轉換為派卡長度。

public static OdfLength Pc(this int value)

Parameters

value int

派卡數值

Returns

OdfLength

對應的 OdfLength

Percent(double)

Performs percent. 將 double 數值轉換為百分比長度。

public static OdfLength Percent(this double value)

Parameters

value double

百分比數值

Returns

OdfLength

對應的 OdfLength

Percent(int)

Performs percent. 將 int 數值轉換為百分比長度。

public static OdfLength Percent(this int value)

Parameters

value int

百分比數值

Returns

OdfLength

對應的 OdfLength

Pt(double)

Performs pt. 將 double 數值轉換為點數長度。

public static OdfLength Pt(this double value)

Parameters

value double

點數數值

Returns

OdfLength

對應的 OdfLength

Pt(int)

Performs pt. 將 int 數值轉換為點數長度。

public static OdfLength Pt(this int value)

Parameters

value int

點數數值

Returns

OdfLength

對應的 OdfLength

Px(double)

Performs px. 將 double 數值轉換為像素長度。

public static OdfLength Px(this double value)

Parameters

value double

像素數值

Returns

OdfLength

對應的 OdfLength

Px(int)

Performs px. 將 int 數值轉換為像素長度。

public static OdfLength Px(this int value)

Parameters

value int

像素數值

Returns

OdfLength

對應的 OdfLength