SetPDFiumFileNameA
Rendering and printing
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetPDFiumFileName and string arguments are interpreted using the current SetAnsiMode code page
Sets the path to pdfium.dll used by the optional PDFium renderer
Syntax
Delphi
Function DLSetPDFiumFileNameA(InstanceID: Integer; FileName: PAnsiChar): Integer;
DLL
int DLSetPDFiumFileNameA(int InstanceID, const char * FileName);
Parameters
| FileName | Full path to a PDFium DLL that matches the process architecture |
|---|
Returns
Returns 1 when the DLL can be loaded and attached; returns 0 when PDFium support is not compiled in or the DLL cannot be attached