VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / PointToUnit Method / PointToUnit(Single,Single) Method
Point, in pixels, to convert.
Resolution of the image coordinate space.



In This Topic
    PointToUnit(Single,Single) Method
    In This Topic
    Converts point from image coordinate space to PDF page coordinate space taking into account image resolution.
    Syntax
    'Declaration
     
    Public Overloads Function PointToUnit( _
       ByVal point As Single, _
       ByVal imageResolution As Single _
    ) As Single
    public float PointToUnit( 
       float point,
       float imageResolution
    )
    public: float PointToUnit( 
       float point,
       float imageResolution
    ) 
    public:
    float PointToUnit( 
       float point,
       float imageResolution
    ) 

    Parameters

    point
    Point, in pixels, to convert.
    imageResolution
    Resolution of the image coordinate space.

    Return Value

    Point, in the PDF page's coordinate space.
    Requirements

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

    See Also