FlexReport for WPF | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document Namespace / Unit Structure / UnitTypeToString Method
A UnitTypeEnum to convert.

In This Topic
    UnitTypeToString Method (Unit)
    In This Topic
    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"
    Syntax
    'Declaration
     
    Public Shared Function UnitTypeToString( _
       ByVal value As UnitTypeEnum _
    ) As String
    public static string UnitTypeToString( 
       UnitTypeEnum value
    )

    Parameters

    value
    A UnitTypeEnum to convert.

    Return Value

    The string representing value.
    See Also