THotPDF.GetLoadedAnnotationDict Method

Returns the complete dictionary object of a specific annotation on the specified page of the loaded PDF, enabling direct reading and writing of all its PDF property key-values

Declaration

function GetLoadedAnnotationDict(PageIndex, AnnotationIndex: Integer): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
AnnotationIndexThe zero-based index of the target annotation in the page's Annots array

Return value

Returns the THPDFDictionaryObject that owns the annotation's dictionary

Usage notes

Related APIs