Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / DecryptionOptions Class / ThrowExceptionIfUnsupportedSecurityOptions Property

In This Topic
    ThrowExceptionIfUnsupportedSecurityOptions Property
    In This Topic
    Gets 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.

    Syntax
    'Declaration
     
    Public Property ThrowExceptionIfUnsupportedSecurityOptions As System.Boolean
    public System.bool ThrowExceptionIfUnsupportedSecurityOptions {get; set;}
    See Also