THPDFPage.AddRedactAnnotationEx Method

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

Declaration

function AddRedactAnnotationEx(Rectangle: TRect; const OverlayText: AnsiString = ''; const Contents: AnsiString = ''; BorderColor: TColor = clRed; InteriorColor: TColor = clBlack; RepeatOverlay: Boolean = False; Justification: THPDFFormFieldJustification = ffjLeft; GenerateRolloverAppearance: Boolean = True): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
RectanglePage area or widget rectangle where the operation is applied
OverlayTextInput used by AddRedactAnnotationEx
ContentsHuman-readable text stored in the PDF object, action, annotation, or structure element
BorderColorColor component or color value used by the painting or resource operation
InteriorColorColor component or color value used by the painting or resource operation
RepeatOverlayInput used by AddRedactAnnotationEx
JustificationInput used by AddRedactAnnotationEx
GenerateRolloverAppearanceInput used by AddRedactAnnotationEx

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs