Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document 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