Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / UnitConverter Class / ConvertTo Method
The value, in BaseUnit, to convert.


In This Topic
    ConvertTo Method
    In This Topic
    Converts the specified value from the current BaseUnit to hundredth's of an inch.
    Syntax
    'Declaration
     
    Public Function ConvertTo( _
       ByVal value As Double _
    ) As Integer
    'Usage
     
    Dim instance As UnitConverter
    Dim value As Double
    Dim value As Integer
     
    value = instance.ConvertTo(value)
    public int ConvertTo( 
       double value
    )

    Parameters

    value
    The value, in BaseUnit, to convert.

    Return Value

    A value representing 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