FlexReport for UWP | ComponentOne
C1.UWP.Document Assembly / C1.Xaml.Document Namespace / Unit Structure


In This Topic
    Unit Structure Methods
    In This Topic

    For a list of all members of this type, see Unit members.

    Public Methods
     NameDescription
    Public MethodOverloaded. Converts value of this Unit structure to value in specified units of measurement.  
    Public Methodstatic (Shared in Visual Basic)Parses a string and creates a Unit instance from that string, throws an exception if string is invalid.  
    Public Methodstatic (Shared in Visual Basic)Converts a string to a UnitTypeEnum value. The string can be one of the following: "doc", "in", "mm", "pc", "dsp", "pt", "tw", "inhs", "cm", "dip". This method is case-insensitive.  
    Public MethodConverts the current object to a string.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Parses a string and gets Value and Unit.Utits from that string.  
    Public Methodstatic (Shared in Visual Basic)Converts a UnitTypeEnum value to a string representation as in the following table:
    • Document"doc"
    • Inch"in"
    • Millimeter"mm"
    • Pica"pc"
    • Point"pt"
    • Twip"tw"
    • InHs"inhs"
    • Centimeters"cm"
    • Dip"dip"
     
    Top
    See Also