Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / DecryptionOptions Class
Properties

In This Topic
    DecryptionOptions Class Members
    In This Topic

    The following tables list the members exposed by DecryptionOptions.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the bytes array specifying the password to open a PDF document. This property is useful when password contains specific regional character which cannot be converted to bytes using UTF8 encoding.

    Note that only one of StringPassword or BytesPassword can be specified, but not both.

     
    Public PropertyGets or sets the string specifying the password to open a PDF document.

    Note that only one of StringPassword or BytesPassword can be specified, but not both.

     
    Public PropertyGets or sets a value indicating whether to throw an exception if the specified password is invalid.

    If false, the document will be opened even if the specified password is invalid, but many methods and properties will not work in this case. The default is true.

     
    Public PropertyGets or sets a value indicating whether to throw an exception if the definition of the security handler is in unknown or invalid format.

    If false, the document will be opened even if the security handler cannot be parsed, but many methods and properties will not work in this case. The default is true.

     
    Top
    See Also