PrintDocument for WinForms
FromRU(Double,Single,Boolean) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > FromRU メソッド : FromRU(Double,Single,Boolean) メソッド
The value to convert, expressed in C1PrintDocument.ResolvedUnit units.
The destination resolution (DPI).
true to truncate the converted value, false to round it (slower but more precise).
Converts a double value expressed in the current document's C1PrintDocument.ResolvedUnit units to UnitTypeEnum.Pixel units with resolution specified by destDpi.

Depending on the truncate parameter, the converted value is either simply truncated, or rounded (slower but more precise).

シンタックス
'宣言
 
Public Overloads Function FromRU( _
   ByVal value As System.Double, _
   ByVal destDpi As System.Single, _
   ByVal truncate As System.Boolean _
) As System.Integer
'使用法
 
Dim instance As C1PrintDocument
Dim value As System.Double
Dim destDpi As System.Single
Dim truncate As System.Boolean
Dim value As System.Integer
 
value = instance.FromRU(value, destDpi, truncate)
public System.int FromRU( 
   System.double value,
   System.float destDpi,
   System.bool truncate
)

パラメータ

value
The value to convert, expressed in C1PrintDocument.ResolvedUnit units.
destDpi
The destination resolution (DPI).
truncate
true to truncate the converted value, false to round it (slower but more precise).

戻り値の型

The converted value.
参照

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