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
| NewScale | The new render scale |
|---|
Return values
Returns 1. The scale factor is applied as-is to the DPI of subsequent rendering calls