Class Capabilities.Compatibility
- Namespace
- PdfSharp
- Assembly
- PdfSharp.dll
Access to compatibility features with fluent API.
public static class Capabilities.Compatibility
- Inheritance
-
Capabilities.Compatibility
- Inherited Members
Properties
IgnoreErrorsOnDecryption
Gets or sets a flag that defines how cryptographic exceptions should be handled that occur while decrypting objects of an encrypted document. If false, occurring exceptions will be rethrown and PDFsharp will only open correctly encrypted documents. If true, occurring exceptions will be caught and only logged for information purposes. This way PDFsharp will be able to load documents with unencrypted contents that should be encrypted due to the settings of the file.
public static bool IgnoreErrorsOnDecryption { get; set; }