Click or drag to resize

LengthUnitConverterConvert Method

Converts the specified length from sourceUnit measurement unit to destinationUnit measurement unit.

Namespace:  SautinSoft.PdfVision
Assembly:  SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 2023.11.2
Syntax
public static double Convert(
	double length,
	LengthUnit sourceUnit,
	LengthUnit destinationUnit
)

Parameters

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

Return Value

Type: Double
The converted value in the destination measurement units.
See Also