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

NameTypeAccessDescription
max_input_bytesint | NoneReadGets the max input bytes.
max_objectsint | NoneReadGets the max objects.
max_xref_sectionsint | NoneReadGets the max xref sections.
max_nesting_depthint | NoneReadGets the max nesting depth.
max_container_itemsint | NoneReadGets the max container items.
max_object_bytesint | NoneReadGets the max object bytes.
max_decoded_stream_bytesint | NoneReadGets the max decoded stream bytes.
max_codec_work_bytesint | NoneReadGets the max codec work bytes.
max_compression_ratioint | NoneReadGets the max compression ratio.
max_content_stream_bytesint | NoneReadGets the max content stream bytes.
max_total_decoded_bytesint | NoneReadGets the max total decoded bytes.
max_stream_filtersint | NoneReadGets the max stream filters.
max_pagesint | NoneReadGets the max pages.
max_image_pixelsint | NoneReadGets the max image pixels.
max_raster_pixelsint | NoneReadGets the max raster pixels.
max_content_tokensint | NoneReadGets the max content tokens.

Methods

SignatureDescription
unlimited()PdfLoadLimitsReturn a configuration with every limit disabled.

See Also