THotPDF.AddLoadedPolygonAnnotation Method

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

Unit

HPDFDoc

Parameters

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

Return value

This member does not return a value

Usage notes

Related APIs