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
ParameterTypeDescription
entitySystem::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