SetCairoFileName
Version history
This function was introduced in Quick PDF Library version 8.13.
Description
Sets the path and file name of the Cairo DLL. The SelectRenderer function can be used to select the Cairo renderer rather than the default GDI+ renderer.
The Cairo DLL is usually dependent on other DLLs. If these are not all stored in the same directory as the application, or a system directory, the Windows API function SetDllDirectory should be used to add the correct path before calling any rendering functions.
Rendering using Cairo is currently experimental.
Syntax
Delphi
function TDebenuPDFLibrary1811.SetCairoFileName(FileName: WideString): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::SetCairoFileName(
FileName As String) As Long
DLL
int DPLSetCairoFileName(int InstanceID, wchar_t * FileName)
Parameters
FileName | The path and file name of the Cairo DLL. |
Return values
0 | The specified DLL was not a valid Cairo DLL |
1 | The specified Cairo DLL was valid |