Documents for PDF .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Common Namespace / Unit Structure / Convert Method / Convert(UnitTypeEnum) Method
The target unit of measurement.

In This Topic
    Convert(UnitTypeEnum) Method
    In This Topic
    Converts value of this Unit structure to value in specified units of measurement.
    Syntax
    'Declaration
     
    Public Overloads Function Convert( _
       ByVal to As UnitTypeEnum _
    ) As System.Single
    public System.float Convert( 
       UnitTypeEnum to
    )

    Parameters

    to
    The target unit of measurement.

    Return Value

    Returns the value in to units.
    See Also