PdfLoadLimits
Overview
PdfLoadLimits is a class in Aspose.PDF FOSS for Python.
Immutable safety limits for untrusted PDF input and authored assets.
This class provides 1 method for working with PdfLoadLimits objects in Python programs.
Available methods include: unlimited.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: max_codec_work_bytes, max_compression_ratio, max_container_items, max_content_stream_bytes, max_content_tokens, max_decoded_stream_bytes, and 10 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
max_input_bytes | int | None | Read | Gets the max input bytes. |
max_objects | int | None | Read | Gets the max objects. |
max_xref_sections | int | None | Read | Gets the max xref sections. |
max_nesting_depth | int | None | Read | Gets the max nesting depth. |
max_container_items | int | None | Read | Gets the max container items. |
max_object_bytes | int | None | Read | Gets the max object bytes. |
max_decoded_stream_bytes | int | None | Read | Gets the max decoded stream bytes. |
max_codec_work_bytes | int | None | Read | Gets the max codec work bytes. |
max_compression_ratio | int | None | Read | Gets the max compression ratio. |
max_content_stream_bytes | int | None | Read | Gets the max content stream bytes. |
max_total_decoded_bytes | int | None | Read | Gets the max total decoded bytes. |
max_stream_filters | int | None | Read | Gets the max stream filters. |
max_pages | int | None | Read | Gets the max pages. |
max_image_pixels | int | None | Read | Gets the max image pixels. |
max_raster_pixels | int | None | Read | Gets the max raster pixels. |
max_content_tokens | int | None | Read | Gets the max content tokens. |
Methods
| Signature | Description |
|---|---|
unlimited() → PdfLoadLimits | Return a configuration with every limit disabled. |