Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfRedactionSearchOptions

OfficeIMO.Pdf

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

Explicit criteria used to derive reviewable redaction rectangles from logical content.

Inheritance

  • object
  • PdfRedactionSearchOptions

Usage

Explore 5 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 1

Constructors

public PdfRedactionSearchOptions() #

Methods

public PdfRedactionSearchOptions AddFormField(params string[] fieldNames) #

Adds fully qualified AcroForm field names.

Parameters

fieldNames string[] required
public PdfRedactionSearchOptions AddLiteral(params string[] values) #

Adds literal text criteria.

Parameters

values string[] required
public PdfRedactionSearchOptions AddLogicalKind(params PdfLogicalElementKind[] kinds) #

Adds logical element kinds such as Heading, ListItem, or TextBlock.

Parameters

kinds OfficeIMO.Pdf.PdfLogicalElementKind[] required
public PdfRedactionSearchOptions AddRegex(params string[] patterns) #

Adds bounded regular-expression criteria.

Parameters

patterns string[] required

Properties

public bool MatchCase { get; set; } #

Case-sensitive literal matching when true.

public PdfRedactionTextSelection TextSelection { get; set; } #

Selection granularity for literal and regular-expression criteria. Defaults to complete logical blocks.

public PdfRedactionContentScope ContentScope { get; set; } #

Intersecting-content policy applied to generated areas. Defaults to text and underlay removal.

public TimeSpan RegexTimeout { get; set; } #

Timeout applied independently to every regular-expression match.

public int MaximumCandidates { get; set; } #

Maximum candidate rectangles produced before planning stops fail-closed.

public ISet<int> PageNumbers { get; } #

One-based pages to search. An empty set searches every page. Candidate limits apply only to these pages.

public RegexOptions RegexOptions { get; set; } #

Regular-expression options. CultureInvariant is recommended for reproducible plans.

public IList<string> LiteralText { get; } #

Literal text criteria.

public IList<string> RegularExpressions { get; } #

Regular-expression criteria.

public IList<string> FormFieldNames { get; } #

Fully qualified AcroForm field names whose widgets should be selected.

public ISet<PdfLogicalElementKind> LogicalElementKinds { get; } #

Logical element kinds whose text blocks should be selected.