THPDFPage.AddPolygonAnnotation Method

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

Declaration

procedure AddPolygonAnnotation(const Contents: AnsiString; const Vertices: array of THPDFCurrPoint; Color: TColor= clRed); overload;

Unit

HPDFDoc

Parameters

NamePurpose
ContentsHuman-readable text stored in the PDF object, action, annotation, or structure element
VerticesInput used by AddPolygonAnnotation
ColorColor component or color value used by the painting or resource operation

Return value

This member does not return a value

Usage notes

Related APIs