THotPDF.AddLoadedSquareAnnotation Method

Adds loaded square annotation data to the document creation workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

procedure AddLoadedSquareAnnotation(PageIndex: Integer; X1, Y1, X2, Y2: Single; const ASubtype, AContents: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index or object index used to select an existing item
X1Input used by AddLoadedSquareAnnotation
Y1Input used by AddLoadedSquareAnnotation
X2Input used by AddLoadedSquareAnnotation
Y2Input used by AddLoadedSquareAnnotation
ASubtypeInput used by AddLoadedSquareAnnotation
AContentsHuman-readable text stored in the PDF object, action, annotation, or structure element

Return value

This member does not return a value

Usage notes

Related APIs