API Reference

Class

PdfRedactionApplyOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Options controlling how planned PDF redaction areas are applied.

Inheritance

  • Object
  • PdfRedactionApplyOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Properties

public PdfColor FillColor { get; set; } #

Fill color used for the visible redaction mark. Defaults to black.

public Boolean PaintUnmatchedAreas { get; set; } #

When true, redaction areas are painted even when no text or annotation match is found in the area.

public Boolean AllowImagePlacementOverlays { get; set; } #

When true, redaction areas that intersect image placements are allowed to be painted as visual overlays even though image pixels and resources are not rewritten.

public PdfRedactionUnsupportedImagePolicy UnsupportedImagePolicy { get; set; } #

Explicit fallback for JPEG, transformed, masked, indexed, or otherwise unsupported partial-image rewrites.

public PdfRedactionCleanupScope CleanupScope { get; set; } #

Explicit document-level residue cleanup. Defaults to intersecting content only.

public Boolean RemoveIntersectingPaths { get; set; } #

Remove intersecting painted vector paths and rectangles from page content before applying the redaction mark.

public IPdfRedactionImageDecoder ImageDecoder { get; set; } #

Optional decoder used for image codecs, such as JPEG, that are intentionally not dependencies of the PDF core.

public Int32 MaximumDecodedImageBytes { get; set; } #

Maximum RGBA bytes accepted from an optional image decoder. Defaults to 256 MiB.