API Reference

Class

PdfRedactionVerificationOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Configures post-redaction checks for removed and retained PDF text markers.

Inheritance

  • Object
  • PdfRedactionVerificationOptions

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

Methods

public PdfRedactionVerificationOptions RequireRemovedText(params String[] markers) #
Returns: PdfRedactionVerificationOptions

Adds text markers that must be removed and returns this options object for fluent setup.

Parameters

markers System.String[] requiredposition: 0
public PdfRedactionVerificationOptions RequireRetainedText(params String[] markers) #
Returns: PdfRedactionVerificationOptions

Adds text markers that must remain readable and returns this options object for fluent setup.

Parameters

markers System.String[] requiredposition: 0

Properties

public IList<String> RemovedTextMarkers { get; } #

Text markers that must not remain extractable after redaction.

public IList<String> RetainedTextMarkers { get; } #

Text markers that must remain extractable after redaction.

public Boolean CheckRawPdfBytes { get; set; } #

True when removed markers should also be checked against raw rewritten PDF bytes decoded as Latin-1.

public Boolean CheckEncodedPdfStrings { get; set; } #

True when removed markers should also be searched in common PDF string byte encodings and hex strings.

public Boolean CheckDecodedPdfStreams { get; set; } #

True when decoded PDF stream content should be searched for removed markers.

public Boolean FailOnUndecodablePdfStreams { get; set; } #

True when redaction verification should fail if a PDF stream cannot be decoded while decoded stream checks are enabled.

public Boolean RequireCompleteStreamInspection { get; set; } #

True when every semantic PDF stream must be inspectable even when decoded-stream marker checks or undecodable-stream failures were disabled. Opaque image-codec payloads are inspected through image placement and mutation evidence instead of generic stream decoding. Use this for plan-aware verification where image or annotation removal also requires fail-closed proof.

public Boolean MatchCase { get; set; } #

True to compare removed and retained text markers with ordinal casing; false to use ordinal case-insensitive comparison.

public Boolean CheckManagedRendering { get; set; } #

Render every page through the managed renderer and fail when a page cannot produce output.

public CancellationToken CancellationToken { get; set; } #

Cooperatively cancels parsing, marker inspection, managed rendering, and external validation boundaries.

public IList<IPdfRedactionExternalValidator> ExternalValidators { get; } #

Optional independent validators. Implement IPdfRedactionCancellationAwareExternalValidator when the validator starts a process or another potentially long-running operation.