Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / AdjustCoordinates Method / AdjustCoordinates(Quadrilateral,Boolean,Single,Single) Method
The GrapeCity.Documents.Common.Quadrilateral to adjust.
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(Quadrilateral,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 Quadrilateral, _
       Optional ByVal fromBottomLeft As System.Boolean, _
       Optional ByVal deviceDpiX As System.Single, _
       Optional ByVal deviceDpiY As System.Single _
    ) As Quadrilateral
    public Quadrilateral AdjustCoordinates( 
       Quadrilateral value,
       System.bool fromBottomLeft,
       System.float deviceDpiX,
       System.float deviceDpiY
    )

    Parameters

    value
    The GrapeCity.Documents.Common.Quadrilateral to adjust.
    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 GrapeCity.Documents.Common.Quadrilateral.
    See Also