THotPDF.AddLoadedRedactAnnotation Method

Adds a /Subtype /Redact markup annotation (PDF 1.7 12.5.6.10) to a loaded page marking a region for later redaction

Declaration

procedure AddLoadedRedactAnnotation(PageIndex: Integer; X1, Y1, X2, Y2: Single; const OverlayText: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the loaded page
X1, Y1, X2, Y2Redaction rectangle in PDF user space points
OverlayTextText shown by compliant viewers before the redaction is applied; pass '' for a plain redaction

Return value

This member does not return a value

Usage notes

Related APIs