Click or drag to resize

RedactOptions Class

Class specifies options used to redact text from PDF files.
Inheritance Hierarchy
SystemObject
  Opait.RedactRedactOptions

Namespace:  Opait.Redact
Assembly:  Opait.Redact (in Opait.Redact.dll) Version: 1.3.3.0
Syntax
C#
public sealed class RedactOptions

The RedactOptions type exposes the following members.

Constructors
  NameDescription
Public methodRedactOptions
Initializes a new instance of the RedactOptions class.
Public methodRedactOptions(XElement)
Initializes a new instance of the RedactOptions class from the specified XML element.
Top
Properties
  NameDescription
Public propertyCanRedact
Gets a flag to indicate that the redaction has at least one active rule.
Public propertyEncrypt
Gets or sets a value to indicate whether redacted characters are encrypted and stored in the PDF metadata stream.
Public propertyPassword
An optional password to encrypt redaction data before storing in the PDF metadata stream. If not specified and the document is encrypted, then the OwnerPassword, if specified, will be used also as the redaction password. If both of RedactPassword and OwnerPassword are unspecified, then a standard secret password will be use to encrypt the redaction data.
Public propertyWhiteBox
Option controls whether redactions are drawn using black or while boxes.
Top
Methods
  NameDescription
Public methodFromXml
Loads redaction options from teh specified XML element.
Public methodReset
Resets all redaction rules.
Public methodToXml
Saves the current instance as an XML element.
Top
Fields
  NameDescription
Public fieldRedactRules
List of regular expression patterns used to detect redacted text.
Top
See Also