Aspose::Pdf::PageCollection::IndexOf method
PageCollection::IndexOf method
Returns index of the specified page.
int32_t Aspose::Pdf::PageCollection::IndexOf(System::SharedPtr<Page> entity) const
Parameter | Type | Description |
---|---|---|
entity | System::SharedPtr<Page> | Page object. Pages numbers start from 1. |
ReturnValue
Index of the page in collection.
Remarks
Pages numbers start from 1. Returns 0 in case collection doesn’t contain the page.
See Also
- Typedef SharedPtr
- Class Page
- Class PageCollection
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++