THotPDF.AddLoadedTextAnnotation Method

Adds a text annotation (sticky note) with author information to the specified page of the loaded PDF

Declaration

procedure AddLoadedTextAnnotation(PageIndex: Integer; ARect: THPDFRect; const AContents: AnsiString; const AAuthor: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
ARectThe placement rectangle area of the annotation icon on the page (PDF user coordinates)
AContentsThe text content of the annotation, displayed to the user when the sticky note is expanded
AAuthorThe author name of the annotation, written to the T entry of the PDF annotation
Y2Input supplied to AddLoadedTextAnnotation
AContentsHuman-readable text stored in the PDF object, action, annotation, or structure element
AAuthorInput supplied to AddLoadedTextAnnotation

Return value

This member returns no value

Usage notes

Related APIs