THotPDF.SetLoadedAnnotationTitle Method
Sets the annotation /T entry, commonly displayed as the comment author or title
Declaration
procedure SetLoadedAnnotationTitle(PageIndex, AnnotationIndex: Integer; const ATitle: AnsiString);
Parameters
PageIndexis the zero-based loaded page indexAnnotationIndexis the zero-based annotation index on that pageATitleis the new title or author text
Usage notes
- Invalid indexes leave the loaded document unchanged
- The annotation dictionary is marked dirty so
SaveIncrementalUpdateretains the value - Use
GetLoadedAnnotationInfoto read the title after reloading
Related APIs
SetLoadedAnnotationName · SetLoadedAnnotationModDate · Loaded document toolkit