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


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > GetLengthAbsValue メソッド : GetLengthAbsValue(LengthAbs,Style,IScriptContext) メソッド
The length to convert. If it is expressed in UnitTypeEnum.Default, the current document's C1PrintDocument.DefaultUnit units are used.
The C1PrintDocument.Style providing the font, required if length is expressed in UnitTypeEnum.Em, UnitTypeEnum.Ex or UnitTypeEnum.LineSpacing (otherwise, it can be null).
C1.C1Preview.Scripting.IScriptContext that should be used to get calculated properties.
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 style As Style, _
   ByVal context As IScriptContext _
) As System.Double
'使用法
 
Dim instance As C1PrintDocument
Dim length As LengthAbs
Dim style As Style
Dim context As IScriptContext
Dim value As System.Double
 
value = instance.GetLengthAbsValue(length, style, context)
public System.double GetLengthAbsValue( 
   LengthAbs length,
   Style style,
   IScriptContext context
)

パラメータ

length
The length to convert. If it is expressed in UnitTypeEnum.Default, the current document's C1PrintDocument.DefaultUnit units are used.
style
The C1PrintDocument.Style providing the font, required if length is expressed in UnitTypeEnum.Em, UnitTypeEnum.Ex or UnitTypeEnum.LineSpacing (otherwise, it can be null).
context
C1.C1Preview.Scripting.IScriptContext that should be used to get calculated properties.

戻り値の型

The converted double value.
参照

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