THPDFPage.AddScreenAnnotation Method

Adds screen 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

function AddScreenAnnotation(Rectangle: TRect; const Contents: AnsiString= ''; Color: TColor= clBlack): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
RectanglePage area or widget rectangle where the operation is applied
ContentsHuman-readable text stored in the PDF object, action, annotation, or structure element
ColorColor component or color value used by the painting or resource operation

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs