PDFDocumentProxy.getPageIndex method
PDFDocumentProxy › getPageIndex
Unofficial
Gets the page index for a reference object.Signature:
getPageIndex(ref: object): Promise<number>Parameters:
| Parameter | Type | Description |
|---|---|---|
| ref | object | The reference object. |
Returns: Promise<number> — A promise resolving to the page index.