[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.OutputRange.GetMaxPage

GetMaxPage Method

GetMaxPage(int)

Gets the ending page number of the current range.

Declaration
public int GetMaxPage(int maxPageNumber)
Public Function GetMaxPage(maxPageNumber As Integer) As Integer
Parameters
Type Name Description
int maxPageNumber

The ending page number (used if the current range is to the end of a document).

Returns
Type Description
int

The actual ending page number.