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

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

public IList<IPdfRedactionExternalValidator> ExternalValidators { get; } #

Optional development-time external validators.