LoadOptions Class
Provides options that will be used to open a file.
Inheritance Hierarchy
SystemObject
  GroupDocs.Redaction.OptionsLoadOptions

Namespace: GroupDocs.Redaction.Options
Assembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 20.9
Syntax
public class LoadOptions

The LoadOptions type exposes the following members.

Constructors
  NameDescription
Public methodLoadOptions
Initializes a new instance of LoadOptions class.
Public methodLoadOptions(String)
Initializes a new instance of LoadOptions class with specified password.
Properties
  NameDescription
Public propertyPassword
Gets or sets a password for password-protected documents.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Remarks
Examples
The following example demonstrates how to open password-protected document.
C#
LoadOptions loadOptions = new LoadOptions("mysecretpassword");
using (var redactor = new Redactor("PasswordProtected.pdf", loadOptions))
{
    // work with document
}
See Also