PdfReadOptions Class
The options of PdfDocument.Open. The limits bound the memory and the work of hostile files.
public sealed class PdfReadOptionsConstructors
| Name | Description |
|---|---|
| PdfReadOptions() |
PdfReadOptions()
PdfReadOptions.cspublic PdfReadOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Certificate | Gets the certificate, with its private key, of a recipient of a document encrypted for certificates (the public-key security handler, /Adobe.PubSec). The default is null. |
| Default | Gets the default options. |
| MaxDecodedStreamLength | Gets the maximum length of the decoded data of one stream, in bytes. The default is 256 MiB. |
| MaxNestingDepth | Gets the maximum depth of nested arrays and dictionaries. The default is 256. |
| Password | Gets the password of an encrypted document: the user or the owner password. The default is the empty password. |
Certificate
PdfReadOptions.csGets the certificate, with its private key, of a recipient of a document encrypted for certificates (the public-key security handler, /Adobe.PubSec). The default is null.
public X509Certificate2? Certificate { get; init; }Property value
Default
PdfReadOptions.csMaxDecodedStreamLength
PdfReadOptions.csGets the maximum length of the decoded data of one stream, in bytes. The default is 256 MiB.
public long MaxDecodedStreamLength { get; init; }MaxNestingDepth
PdfReadOptions.csGets the maximum depth of nested arrays and dictionaries. The default is 256.
public int MaxNestingDepth { get; init; }