Click or drag to resize

PdfPageCollection IndexOf Method

Gets the index of the page in the document.

Namespace: Spire.Pdf.Widget
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public int IndexOf(
	PdfPageBase page
)

Parameters

page
Type: Spire.Pdf PdfPageBase
The current page.

Return Value

Type: Int32
Index of the page in the document if exists, -1 otherwise.
See Also