Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfRedactionApplyOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Implements
IPdfOperationCancellation
Modifiers
sealed

Options controlling how planned PDF redaction areas are applied.

Inheritance

  • object
  • PdfRedactionApplyOptions

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

Explore 3 API references to this type

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

Accepted by parameters 3

Constructors

public PdfRedactionApplyOptions() #

Properties

public OfficeColor FillColor { get; set; } #

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

public bool PaintUnmatchedAreas { get; set; } #

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

public bool 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 bool RemoveIntersectingPaths { get; set; } #

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

public double AppearanceMergeDistance { get; set; } #

Maximum horizontal gap, in PDF user-space units, merged by PdfRedactionAppearanceMode.MergeNearby. Defaults to 4.

public double AppearanceWidthQuantum { get; set; } #

Width quantum, in PDF user-space units, used by PdfRedactionAppearanceMode.QuantizedWidth. Defaults to 24.

public IPdfRedactionImageDecoder? ImageDecoder { get; set; } #

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

public int MaximumDecodedImageBytes { get; set; } #

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