PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / GetPagePreviewRect Method
0-based page index.

In This Topic
    GetPagePreviewRect Method (C1PreviewPane)
    In This Topic
    Gets the rectangle representing the specified page, relative to PreviewScrollPosition. The rectangle is in document coordinates (i.e. does not depend on the current zoom factor).
    Syntax
    'Declaration
     
    Public Function GetPagePreviewRect( _
       ByVal pageIdx As Integer _
    ) As RectangleF
    public RectangleF GetPagePreviewRect( 
       int pageIdx
    )

    Parameters

    pageIdx
    0-based page index.

    Return Value

    RectangleF structure representing the specified page.
    See Also