[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.DecryptionOptions.ThrowExceptionIfInvalidPassword

ThrowExceptionIfInvalidPassword Property

ThrowExceptionIfInvalidPassword

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.

Declaration
public bool ThrowExceptionIfInvalidPassword { get; set; }
Public Property ThrowExceptionIfInvalidPassword As Boolean