THotPDF.SetLoadedAnnotationSubject Method
Sets the /Subj (subject) entry of a markup annotation on a loaded page
Declaration
procedure SetLoadedAnnotationSubject(PageIndex, AnnotationIndex: Integer; const ASubject: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index of the loaded page |
AnnotationIndex | Index of the annotation on that page |
ASubject | Subject text written to /Subj |
Return value
This member returns no value
Usage notes
- Use THotPDF.SetLoadedAnnotationCreationDate to set the companion /CreationDate entry
- Only applies to markup annotation types that define /Subj