THotPDF.AddLoadedFreeTextAnnotation Method

Adds a free text annotation to the specified page of the loaded PDF; the annotation content is directly visible within the page's rectangular area and does not require clicking to expand

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
ARectThe rectangular area of the annotation text box on the page (PDF user coordinates)
AContentsThe text content displayed directly within the annotation area
X2Input supplied to AddLoadedFreeTextAnnotation
Y2Input supplied to AddLoadedFreeTextAnnotation
ATextInput supplied to AddLoadedFreeTextAnnotation

Return value

This member returns no value

Usage notes

Related APIs