RedactData Class |
Namespace: Opait.Redact
public sealed class RedactData
The RedactData type exposes the following members.
Name | Description | |
---|---|---|
RedactData |
Initializes a new instance of the RedactData class.
| |
RedactData(XElement) |
Initialize a new instance of RedactData from an XML element.
|
Name | Description | |
---|---|---|
IsDirty |
Gets or sets a flag to indicate whether there are unsaved changes.
| |
Password |
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.
| |
RedactCount |
Gets the total number of redactions.
| |
RedactPages |
Gets or sets the list of pages with redaction data.
|
Name | Description | |
---|---|---|
AddRedaction |
Add a new redaction on the specified page.
| |
DeleteRedaction |
Deletes the specified redaction item.
| |
Encrypt |
Encrypts this class instance as a base 64 string.
| |
FormatRedactions |
Formats redactions for logging.
| |
FromXml |
Initializes an instance of the RedactData class from the specified XElement.
| |
GetRedactPage |
Gets redaction data for the specified page number.
| |
Load |
Decrypts the redaction data from the specified string.
| |
ToXml |
Serializes the current instance of the RedactData class as an XElement.
| |
UpdateRedaction |
Updates the bounding rectangle of the specified redaction item.
|