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
)
Public Function IndexOf (
page As PdfPageBase
) As Integer
public:
int IndexOf(
PdfPageBase^ page
)
member IndexOf :
page : PdfPageBase -> int
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