GetStreamDecodeLimits

Document loading, security, performance

Description

Returns the stream decode limits configured on the library instance

Syntax

Delphi

Function TPDFlib.GetStreamDecodeLimits(Out MaxFilters: Integer; Out MaxOperationBytes: Int64): Integer;

Parameters

MaxFiltersReceives the maximum filters in one stream chain
MaxOperationBytesReceives the cumulative decoded-byte limit for one tracked operation

Return values

1The configured limits were returned

Remarks

Zero means unrestricted for either value