RedactOptions
Overview
RedactOptions is a interface in Aspose.PDF FOSS for TypeScript.
Options for {@link redactPage} / page.Redact / doc.Redact.
Properties: color, keepAnnotations, region, scrubMetadata.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
region | : Rect | Read | Restrict the search to this page-space rectangle (redactText only — redactPage takes explicit rects and never sees this). |
color | : [number, number, number] | Read | Fill colour of the redaction marker box as [r, g, b] in 0..1 (default black). |
scrubMetadata | : boolean | Read | Also clear document metadata (/Info + XMP) when true. |
keepAnnotations | : boolean | Read | Keep annotations overlapping a redacted region instead of removing them. |