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

返回注释字典的 THPDFDictionaryObject;若索引越界或注释对象无效,则返回 nil

Usage notes

Related APIs