VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / ConvertFromUserUnitsToUnitOfMeasure Method
Value in Vintasoft.Imaging.UnitOfMeasure.UserUnits to convert.
Specifies the Vintasoft.Imaging.UnitOfMeasure for conversion.



In This Topic
    ConvertFromUserUnitsToUnitOfMeasure Method
    In This Topic
    Converts value in Vintasoft.Imaging.UnitOfMeasure.UserUnits to a value in specified Vintasoft.Imaging.UnitOfMeasure.
    Syntax
    'Declaration
     
    Public Shared Function ConvertFromUserUnitsToUnitOfMeasure( _
       ByVal userUnits As Single, _
       ByVal units As UnitOfMeasure _
    ) As Single
    public static float ConvertFromUserUnitsToUnitOfMeasure( 
       float userUnits,
       UnitOfMeasure units
    )
    public: static float ConvertFromUserUnitsToUnitOfMeasure( 
       float userUnits,
       UnitOfMeasure units
    ) 
    public:
    static float ConvertFromUserUnitsToUnitOfMeasure( 
       float userUnits,
       UnitOfMeasure units
    ) 

    Parameters

    userUnits
    Value in Vintasoft.Imaging.UnitOfMeasure.UserUnits to convert.
    units
    Specifies the Vintasoft.Imaging.UnitOfMeasure for conversion.

    Return Value

    Value converted to specified Vintasoft.Imaging.UnitOfMeasure.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also