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

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

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