Gets the maximum valid physical page number (1-based index) for the specified document.

Namespace:  C1.C1Preview.Export
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static int GetMaxPageNumber(
	Object document,
	int pageCount
)
Visual Basic
Public Shared Function GetMaxPageNumber ( _
	document As Object, _
	pageCount As Integer _
) As Integer

Parameters

document
Type: System..::..Object
The target document.
pageCount
Type: System..::..Int32
The page count.

Return Value

The maximum page number valid for this document.

See Also