PrintDocument for WinForms
GetLengthAbsValue(LengthAbs,Font) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > GetLengthAbsValue メソッド : GetLengthAbsValue(LengthAbs,Font) メソッド
The length to convert. If it is expressed in UnitTypeEnum.Default, the current document's C1PrintDocument.DefaultUnit units are used.
The font to use if length is expressed in UnitTypeEnum.Em, UnitTypeEnum.Ex or UnitTypeEnum.LineSpacing (otherwise, it can be null).
Converts an absolute length represented by a LengthAbs object to a double value expressed in the current document's C1PrintDocument.ResolvedUnit units.
シンタックス
'宣言
 
Public Overloads Function GetLengthAbsValue( _
   ByVal length As LengthAbs, _
   ByVal font As System.Drawing.Font _
) As System.Double
'使用法
 
Dim instance As C1PrintDocument
Dim length As LengthAbs
Dim font As System.Drawing.Font
Dim value As System.Double
 
value = instance.GetLengthAbsValue(length, font)
public System.double GetLengthAbsValue( 
   LengthAbs length,
   System.Drawing.Font font
)

パラメータ

length
The length to convert. If it is expressed in UnitTypeEnum.Default, the current document's C1PrintDocument.DefaultUnit units are used.
font
The font to use if length is expressed in UnitTypeEnum.Em, UnitTypeEnum.Ex or UnitTypeEnum.LineSpacing (otherwise, it can be null).

戻り値の型

The converted double value.
参照

C1PrintDocument クラス
C1PrintDocument メンバ
オーバーロード一覧