function AnnotationObjectInfo(Index, ObjectIndex: Integer): TPdfPageObjectInfo;
| Index | Integer. Zero-based index of the annotation on the current page |
| ObjectIndex | Integer. Zero-based index of the object within that annotation, below AnnotationObjectCount |
| Result | TPdfPageObjectInfo. The same snapshot record PageObjectInfo returns for page content: handle, type, bounds, matrix, colours, stroke width, line style, and dash pattern |
Gives an annotation the same level of inspection page content already has. An ink annotation, for example, reports one path object per stroke, each with its own colour and width
The Handle field can be handed to UpdateAnnotationObject after the object has been edited through PDFium
Coordinates are in PDF page units, matching the annotation rectangle rather than the appearance-stream space