VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / PointToUnit Methods / PointToUnit(Single,Single) Method
Syntax Requirements SeeAlso
In This Topic
    PointToUnit(Single,Single) Method (PdfPage)
    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
    Point, in pixels, to convert.
    As Single, _
    ByVal imageResolution
    Resolution of the image coordinate space.
    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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also