THotPDF.AddLoadedHighlightAnnotation Method

Adds loaded highlight 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 AddLoadedHighlightAnnotation(PageIndex: Integer; X1, Y1, X2, Y2: Single; const ASubtype, AContents: AnsiString; const AQuadPoints: array of Single);

Unit

HPDFDoc

Parameters

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

Return value

This member does not return a value

Usage notes

Related APIs