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

In This Topic
    GetPageVisibility Method (C1PreviewPane)
    In This Topic
    Gets the percentage (from 0 to 100) of the area of the specified page that is currently visible in this C1PreviewPane. The returned value is rounded to 2 decimal digits.
    Syntax
    'Declaration
     
    Public Function GetPageVisibility( _
       ByVal pageIdx As Integer _
    ) As Double
    public double GetPageVisibility( 
       int pageIdx
    )

    Parameters

    pageIdx
    0-based page index.

    Return Value

    Percentage of the specified page's surface that is visible.
    See Also