PrintDocument for WinForms
ConvertUnit(UnitTypeEnum) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > Unit 構造体 > ConvertUnit メソッド : ConvertUnit(UnitTypeEnum) メソッド
The target UnitTypeEnum.
Attempts to convert the current unit value to other unit of measurement.

Only absolute units can be converted. This method throws an exception if the conversion cannot be performed.

シンタックス
'宣言
 
Public Overloads Function ConvertUnit( _
   ByVal destUnitType As UnitTypeEnum _
) As System.Double
'使用法
 
Dim instance As Unit
Dim destUnitType As UnitTypeEnum
Dim value As System.Double
 
value = instance.ConvertUnit(destUnitType)
public System.double ConvertUnit( 
   UnitTypeEnum destUnitType
)

パラメータ

destUnitType
The target UnitTypeEnum.

戻り値の型

The value in destUnitType units.
参照

Unit 構造体
Unit メンバ
オーバーロード一覧