Tests whether the page with the specified number exists in the document.

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

Syntax

C#
public static bool PageExists(
	int pageNo,
	IList pages,
	Object document
)
Visual Basic
Public Shared Function PageExists ( _
	pageNo As Integer, _
	pages As IList, _
	document As Object _
) As Boolean

Parameters

pageNo
Type: System..::..Int32
The physical page number (1-based index).
pages
Type: System.Collections..::..IList
The list of page images or null.
document
Type: System..::..Object
The document or null.

Return Value

True if the page exists, false otherwise.

See Also