DestinationCollectionGetPageNumber Method
Returns the page number of destination by the name.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public int GetPageNumber(
	string destinameName,
	bool useCache
)

Parameters

destinameName
Type: SystemString
The name of destination.
useCache
Type: SystemBoolean
Determines whether cached version of collection is used or not.

Return Value

Type: Int32
The page number if destination was found; otherwise, -1.
See Also