Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / AdjustCoordinates Method / AdjustCoordinates(PointF,Boolean,Single,Single) Method
The System.Drawing.PointF to convert.
If true, the source coordinates' origin is in the bottom left corner of the page with Y axis going up (by default it is in the top left corner with Y axis going down).
The horizontal device resolution.
The vertical device resolution.

In This Topic
    AdjustCoordinates(PointF,Boolean,Single,Single) Method
    In This Topic
    Converts specified visual coordinates (usually in the coordinate system with the origin in the top left corner of the page and the Y axis going down, see fromBottomLeft) to coordinates that take into account Rotate, CropBox and MediaBox (if CropBox is not specified) values.

    This method should be used when positioning annotations or destinations on a page. Do not use this method when drawing on Graphics.

    Syntax
    'Declaration
     
    Public Overloads Function AdjustCoordinates( _
       ByVal value As System.Drawing.PointF, _
       Optional ByVal fromBottomLeft As System.Boolean, _
       Optional ByVal deviceDpiX As System.Single, _
       Optional ByVal deviceDpiY As System.Single _
    ) As System.Drawing.PointF
    public System.Drawing.PointF AdjustCoordinates( 
       System.Drawing.PointF value,
       System.bool fromBottomLeft,
       System.float deviceDpiX,
       System.float deviceDpiY
    )

    Parameters

    value
    The System.Drawing.PointF to convert.
    fromBottomLeft
    If true, the source coordinates' origin is in the bottom left corner of the page with Y axis going up (by default it is in the top left corner with Y axis going down).
    deviceDpiX
    The horizontal device resolution.
    deviceDpiY
    The vertical device resolution.

    Return Value

    The adjusted System.Drawing.PointF.
    See Also