CreateRenderer

Rendering and printing

Description

Creates a renderer object for the selected document page tree and attaches it to the document for repeated internal rendering operations.

Syntax

Delphi

Function CreateRenderer: Integer;

Returns

Returns 1 when the renderer object is created, or 0 if allocation fails.

Remarks

Any existing renderer object is destroyed before the new one is created. Call DestroyRenderer when the cached renderer is no longer needed.

See also

DestroyRenderer