Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfRedactionVerificationOptions

OfficeIMO.Pdf

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

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

Inheritance

  • object
  • PdfRedactionVerificationOptions

Usage

Explore 8 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 6

Constructors

public PdfRedactionVerificationOptions() #

Methods

public PdfRedactionVerificationOptions RequireRemovedText(params string[] markers) #

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

Parameters

markers string[] required
public PdfRedactionVerificationOptions RequireRetainedText(params string[] markers) #

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

Parameters

markers string[] required

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

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

public bool CheckEncodedPdfStrings { get; set; } #

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

public bool CheckDecodedPdfStreams { get; set; } #

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

public bool FailOnUndecodablePdfStreams { get; set; } #

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

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

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

public bool CheckManagedRendering { get; set; } #

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

public IList<IPdfRedactionExternalValidator> ExternalValidators { get; } #

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