Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / UnitConverter Class
Members


In This Topic
    UnitConverter Class
    In This Topic
    The UnitConverter class allows a value to be converted to and from a specified Unit, or to and from hundredths of an inch.
    Syntax
    'Declaration
     
    Public NotInheritable Class UnitConverter 
    'Usage
     
    Dim instance As UnitConverter
    public sealed class UnitConverter 
    Inheritance Hierarchy

    System.Object
       Xceed.Grid.Reporting.UnitConverter

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the UnitConverter class specifying the Unit which will be used to convert values to and from hundredth's of an inch.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the Unit which will be used to convert values to and from hundredth's of an inch.  
    Top
    Public Methods
     NameDescription
    Public MethodConverts the specified from hundredth's of an inch to the current BaseUnit.  
    Public MethodConverts the specified value from the current BaseUnit to hundredth's of an inch.  
    Public Methodstatic (Shared in Visual Basic)Converts the value from hundredth's of an inch to the specified Unit.  
    Public Methodstatic (Shared in Visual Basic)Converts the value from the specified Unit to hundredth's of an inch.  
    Top
    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