API Reference
PdfRedactionSearchOptions
Explicit criteria used to derive reviewable redaction rectangles from logical content.
Inheritance
- Object
- PdfRedactionSearchOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method PdfDocument.SearchRedactions
Constructors
public PdfRedactionSearchOptions() #Methods
public PdfRedactionSearchOptions AddFormField(params String[] fieldNames) #PdfRedactionSearchOptionsAdds fully qualified AcroForm field names.
Parameters
- fieldNames System.String[]
public PdfRedactionSearchOptions AddLiteral(params String[] values) #PdfRedactionSearchOptionsAdds literal text criteria.
Parameters
- values System.String[]
public PdfRedactionSearchOptions AddLogicalKind(params PdfLogicalElementKind[] kinds) #PdfRedactionSearchOptionsAdds logical element kinds such as Heading, ListItem, or TextBlock.
Parameters
- kinds OfficeIMO.Pdf.PdfLogicalElementKind[]
public PdfRedactionSearchOptions AddRegex(params String[] patterns) #PdfRedactionSearchOptionsAdds bounded regular-expression criteria.
Parameters
- patterns System.String[]
Inherited Methods
Properties
public Boolean MatchCase { get; set; } #Case-sensitive literal matching when true.
public TimeSpan RegexTimeout { get; set; } #Timeout applied independently to every regular-expression match.
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.