Aspose::Pdf::DestinationCollection::GetPageNumber method

DestinationCollection::GetPageNumber method

Returns the page number of destination by the name.

int32_t Aspose::Pdf::DestinationCollection::GetPageNumber(System::String destinameName, bool useCache)
ParameterTypeDescription
destinameNameSystem::StringThe name of destination.
useCacheboolDetermines whether cached version of collection is used or not.

ReturnValue

The page number if destination was found; otherwise, -1.

See Also