FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / OutputRange Class / GetPageCount Method
The starting page number (used if the current range is from the beginning of a document).
The ending page number (used if the current range is to the end of a document).

In This Topic
    GetPageCount Method (OutputRange)
    In This Topic
    Gets the total number of pages in the current range.
    Syntax
    'Declaration
     
    Public Function GetPageCount( _
       ByVal minPageNumber As Integer, _
       ByVal maxPageNumber As Integer _
    ) As Integer
    public int GetPageCount( 
       int minPageNumber,
       int maxPageNumber
    )

    Parameters

    minPageNumber
    The starting page number (used if the current range is from the beginning of a document).
    maxPageNumber
    The ending page number (used if the current range is to the end of a document).
    See Also