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 (25.3.0.1000)
Syntaxpublic static double Convert(
	double value,
	PaperUnit sourceUnit,
	PaperUnit targetUnit
)
Public Shared Function Convert ( 
	value As Double,
	sourceUnit As PaperUnit,
	targetUnit As PaperUnit
) As Double
public:
static double Convert(
	double value, 
	PaperUnit sourceUnit, 
	PaperUnit targetUnit
)
static member Convert : 
        value : float * 
        sourceUnit : PaperUnit * 
        targetUnit : PaperUnit -> float 
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: 
DoubleThe value expressed in 
targetUnit.
See Also