SetRenderScale

Rendering and printing

Description

Applies a non-integer scaling to the DPI parameter of subsequent calls to any of the rendering functions.

For example, if the render scale is set to 0.1 and the RenderPageToFile function is called with the DPI parameter set to 125, the resulting image will be rendered with an effective DPI of 12.5.

Syntax

Delphi

function TPDFlib.SetRenderScale(NewScale: Double): Integer;

ActiveX

Function PDFlib::SetRenderScale(NewScale As Double) As Long

DLL

int DLSetRenderScale(int InstanceID, double NewScale);

Parameters

NewScaleThe new render scale