Click or drag to resize
LengthUnitConverterConvert Method
Converts the specified length from sourceUnit measurement unit to destinationUnit measurement unit.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public static double Convert(
	double length,
	LengthUnit sourceUnit,
	LengthUnit destinationUnit
)

Parameters

length
Type: SystemDouble
The length that will be converted.
sourceUnit
Type: GemBox.DocumentLengthUnit
The source measurement unit.
destinationUnit
Type: GemBox.DocumentLengthUnit
The destination measurement unit.

Return Value

Type: Double
The length expressed in destinationUnit measurement unit.
See Also