Class RedactionOptions
Options for redaction.
public sealed class RedactionOptions
- Inheritance
-
RedactionOptions
- Inherited Members
Properties
FillColor
Color of the boxes drawn over redacted areas (default black); null draws nothing.
public PdfColor? FillColor { get; set; }
Property Value
GlyphOverlapThreshold
A glyph is removed when this share of its box overlaps a redacted area (default 0.3).
public double GlyphOverlapThreshold { get; set; }
Property Value
OverlayFont
Font of the OverlayText (default Helvetica); the size is fitted to each box.
public PdfFont OverlayFont { get; set; }
Property Value
OverlayText
Optional text drawn into each box (e.g. "REDACTED").
public string? OverlayText { get; set; }
Property Value
OverlayTextColor
Color of the OverlayText (default white).
public PdfColor OverlayTextColor { get; set; }
Property Value
RemoveAnnotations
Remove annotations and form fields that intersect a redacted area (default true).
public bool RemoveAnnotations { get; set; }
Property Value
RemoveVectorGraphics
Remove vector graphics (paths) that lie completely inside a redacted area (default true).
public bool RemoveVectorGraphics { get; set; }