PDFPageProxy.getAnnotations method
PDFPageProxy › getAnnotations
Unofficial
Gets the annotations for the page.Signature:
getAnnotations(params?: GetAnnotationsParams | undefined): Promise<unknown[]>Parameters:
| Parameter | Type | Description |
|---|---|---|
| params? | GetAnnotationsParams | undefined | Optional parameters including intent (the rendering intent). |
Returns: Promise<unknown[]> — A promise resolving to the annotations.