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 (24.4.0.1000)
Syntax
public static double Convert(
	double value,
	PaperUnit sourceUnit,
	PaperUnit targetUnit
)

Parameters

value
Type: SystemDouble
The value.
sourceUnit
Type: Dundas.BI.PrintPaperUnit
The value's unit.
targetUnit
Type: Dundas.BI.PrintPaperUnit
The unit of the desired value.

Return Value

Type: Double
The value expressed in targetUnit.
See Also