VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / UnitsToPixels Methods / UnitsToPixels(PointF,Resolution) Method
Syntax Requirements SeeAlso
In This Topic
    UnitsToPixels(PointF,Resolution) Method (PdfPage)
    In This Topic
    Converts point from image coordinate space to PDF page coordinate space taking into account the image resolution and PDF page media box.
    Syntax
    'Declaration
    
    Public Overloads Sub UnitsToPixels( _
    ByRef point
    Provides point, in the PDF page's coordinate space, to convert; returns the converted point, in the image's coordinate space.
    As System.Drawing.PointF, _
    ByVal imageResolution
    Resolution of the image coordinate space.
    As Vintasoft.Imaging.Resolution _
    )
    public void UnitsToPixels(
    ref System.Drawing.PointF point,
    Vintasoft.Imaging.Resolution imageResolution
    )
    public: void UnitsToPixels(
    ref System.Drawing.PointF point,
    Vintasoft.Imaging.Resolution imageResolution
    )
    public:
    void UnitsToPixels(
    System.Drawing.PointF% point,
    Vintasoft.Imaging.Resolution imageResolution
    )

    Parameters

    point
    Provides point, in the PDF page's coordinate space, to convert; returns the converted point, in the image's coordinate space.
    imageResolution
    Resolution of the image coordinate space.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also