SelectRenderer
Version history
This function was introduced in Quick PDF Library version 8.13.
Description
Select the renderer to use during rendering. By default the GDI+ rendering engine is used.
If DPLR (AGG) is used, the SetDPLRFileName function should be used to set the path to the DPLR DLL. All rendering functions support this rendering engine.
The required DPLR rendering DLL for this function can be found in the 'Rendering and Printing Add-On' folder/ directory of the Debenu Quick PDF Library installation folder. Please see the README.TXT in this folder for futher explanation if required.
If Cairo is used, the SetCairoFileName function should be used to set the path to the Cairo DLL. This rendering engine is being deprecated, you should switch to using DPLR instead.
If PDFium is used, the SetPDFiumFileName function should be used to set the path to the DPLPDFium DLL, either 32-bit or 64-bit as appropriate.
Syntax
Delphi
function TDebenuPDFLibrary1811.SelectRenderer(RendererID: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::SelectRenderer(RendererID As Long) As Long
DLL
int DPLSelectRenderer(int InstanceID, int RendererID)
Parameters
RendererID |
1 = GDI+ 2 = Cairo 3 = DPLR (AGG) 4 = PDFium |
Return values
0 | The specified renderer could not be selected |
1 | The GDI+ renderer was selected |
2 | The Cairo renderer was selected |
3 | The DPLR (AGG) renderer was selected |
4 | The PDFium renderer was selected |