[]
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.
public bool ThrowExceptionIfInvalidPassword { get; set; }
Public Property ThrowExceptionIfInvalidPassword As Boolean