THotPDF.GetLoadedAnnotationName Method

Gets the annotation name string for the specified page and index position in the loaded PDF document

Declaration

function GetLoadedAnnotationName(PageIndex, AnnotationIndex: Integer): AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
AnnotationIndexZero-based index of the annotation on the target page

Return value

Returns the name string of the annotation; returns an empty string if the annotation has no name or the index is out of bounds

Usage notes

Related APIs