Property MaxPdfContentOperations
MaxPdfContentOperations
Gets or sets the maximum number of content-stream operators PDF import will execute for one page, including operators reached through nested form XObjects and patterns, or null for unlimited.
On by default (DefaultMaxPdfContentOperations). Nesting is already bounded by MaxPdfNestingDepth, but depth is not the same as work: a pattern that tiles a thousand times, each tile drawing a form that draws a thousand paths, stays four levels deep and still costs a billion operations.
public long? MaxPdfContentOperations { get; set; }
Property Value
- long?
Exceptions
- ArgumentOutOfRangeException
The value is not positive.