PaperUnitHelperConvert Method

Converts a value expressed in one unit into its value in another unit.

Namespace: Dundas.BI.Print
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public static double Convert(
	double value,
	PaperUnit sourceUnit,
	PaperUnit targetUnit
)

Parameters

value  Double
The value.
sourceUnit  PaperUnit
The value's unit.
targetUnit  PaperUnit
The unit of the desired value.

Return Value

Double
The value expressed in targetUnit.
See Also