Click or drag to resize

RedactData Class

Class represents redacted data in a PDF document.
Inheritance Hierarchy
SystemObject
  Opait.RedactRedactData

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

The RedactData type exposes the following members.

Constructors
  NameDescription
Public methodRedactData
Initializes a new instance of the RedactData class.
Public methodRedactData(XElement)
Initialize a new instance of RedactData from an XML element.
Top
Properties
  NameDescription
Public propertyIsDirty
Gets or sets a flag to indicate whether there are unsaved changes.
Public propertyPassword
Gets or sets the owner or user password for opening the PDF document.
Remarks
The password stored within the encrypted redaction data is one of "PDF owner password", "PDF user password" or "empty string". The inclusion of the regular PDF passwords allows treating the redaction password as a super password which can open the document with all privileges, including access to redacted data.
Public propertyRedactCount
Gets the total number of redactions.
Public propertyRedactPages
Gets or sets the list of pages with redaction data.
Top
Methods
  NameDescription
Public methodAddRedaction
Add a new redaction on the specified page.
Public methodDeleteRedaction
Deletes the specified redaction item.
Public methodEncrypt
Encrypts this class instance as a base 64 string.
Public methodFormatRedactions
Formats redactions for logging.
Public methodFromXml
Initializes an instance of the RedactData class from the specified XElement.
Public methodGetRedactPage
Gets redaction data for the specified page number.
Public methodStatic memberLoad
Decrypts the redaction data from the specified string.
Public methodToXml
Serializes the current instance of the RedactData class as an XElement.
Public methodUpdateRedaction
Updates the bounding rectangle of the specified redaction item.
Top
See Also