Xceed Grid for WinForms v4.3 Documentation
ToHundredthsOfAnInch Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > UnitConverter Class : ToHundredthsOfAnInch Method
The value to convert.
A Unit representing the unit of value.
Converts the value from the specified Unit to hundredth's of an inch.
Syntax
'Declaration
 
Public Shared Function ToHundredthsOfAnInch( _
   ByVal value As Double, _
   ByVal sourceUnit As Unit _
) As Integer
'Usage
 
Dim value As Double
Dim sourceUnit As Unit
Dim value As Integer
 
value = UnitConverter.ToHundredthsOfAnInch(value, sourceUnit)
public static int ToHundredthsOfAnInch( 
   double value,
   Unit sourceUnit
)

Parameters

value
The value to convert.
sourceUnit
A Unit representing the unit of value.

Return Value

A value representing the converted value in hundredth's of an inch. The value will be rounded using a banker's round.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UnitConverter Class
UnitConverter Members