Converts a value from one absolute unit to another.

Namespace:  C1.C1PrintDocument
Assembly:  C1.C1PrintDocument.Classic.2 (in C1.C1PrintDocument.Classic.2.dll)

Syntax

C#
public static double ConvertUnit(
	double value,
	UnitTypeEnum fromType,
	UnitTypeEnum toType
)
Visual Basic (Declaration)
Public Shared Function ConvertUnit ( _
	value As Double, _
	fromType As UnitTypeEnum, _
	toType As UnitTypeEnum _
) As Double

Parameters

value
Type: System..::.Double
fromType
Type: UnitTypeEnum
toType
Type: UnitTypeEnum

Return Value

See Also