PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / DocumentToClient Method / DocumentToClient(Int32,PointF) Method
0-based page index.
Point on page pageIdx.

In This Topic
    DocumentToClient(Int32,PointF) Method
    In This Topic
    Converts a PointF in document coordinates to the current C1PreviewPane's client coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function DocumentToClient( _
       ByVal pageIdx As Integer, _
       ByVal pPage As PointF _
    ) As Point
    public Point DocumentToClient( 
       int pageIdx,
       PointF pPage
    )

    Parameters

    pageIdx
    0-based page index.
    pPage
    Point on page pageIdx.

    Return Value

    Point converted to preview pane client coordinates.
    See Also