Property MaxPdfObjectCount
MaxPdfObjectCount
Gets or sets the maximum number of indirect objects PDF import will admit from one document, or null for unlimited.
On by default (DefaultMaxPdfObjectCount). A cross-reference stream or an object stream declares its entry count in a header, so a few bytes can ask the reader to allocate a table with billions of slots before a single object is read.
public int? MaxPdfObjectCount { get; set; }
Property Value
- int?
Exceptions
- ArgumentOutOfRangeException
The value is not positive.