SetRenderScale
渲染和打印
描述
对后续任意渲染函数调用的 DPI 参数应用非整数缩放
例如,如果将渲染比例设为 0.1,并调用 DPI 参数设为 125 的 RenderPageToFile 函数,生成的图像将以有效 DPI 12.5 渲染
语法
Delphi
Function TPDFlib.SetRenderScale(NewScale: Double): Integer;
ActiveX
Function PDFlib::SetRenderScale(NewScale As Double) As Long
DLL
int DLSetRenderScale(int InstanceID, double NewScale);
参数
| NewScale新的渲染比例 |