FlexReport for WinForms | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document 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