THotPDF.AddLoadedCaretAnnotationEx Method

Adds a caret annotation to a loaded page and optionally writes the paragraph-symbol /Sy value

Declaration

procedure AddLoadedCaretAnnotationEx(PageIndex: Integer; X1, Y1, X2, Y2: Single; const AContents: AnsiString; ParagraphSymbol: boolean);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based loaded page index
X1Left coordinate of the annotation rectangle in PDF points
Y1Bottom coordinate of the annotation rectangle in PDF points
X2Right coordinate of the annotation rectangle in PDF points
Y2Top coordinate of the annotation rectangle in PDF points
AContentsOptional annotation contents text
ParagraphSymbolTrue to write /Sy /P for a paragraph-symbol caret annotation

Return value

This member does not return a value

Usage notes

Related APIs