Documents for PDF .NET Edition
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Common 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
    In This Topic
    Gets the total number of pages in the current range.
    Syntax
    'Declaration
     
    Public Function GetPageCount( _
       ByVal minPageNumber As System.Integer, _
       ByVal maxPageNumber As System.Integer _
    ) As System.Integer
    public System.int GetPageCount( 
       System.int minPageNumber,
       System.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