GetRenderSourceSizeLimit

Rendering and printing

Description

Return the maximum PDF source byte size supported by the currently active external renderer

Syntax

Delphi

Function TPDFlib.GetRenderSourceSizeLimit: Int64;

Return values

Returns 0 when the built-in native renderer is active (no external buffer cap), a positive 64-bit byte limit when an attached external renderer such as PDFium is active, or -1 if the configured external renderer library could not be attached.

Remarks

Compare this value against GetDocumentSourceSize before rendering multi-gigabyte documents through an external renderer.

See also

GetDocumentSourceSize, SelectRenderer, SetPDFiumFileName