SetGDIPlusFileName

Rendering and printing

Description

Sets the path and filename of the GDI+ DLL (gdiplus.dll) used by the various rendering functions. This can usually be left at the default, which means the DLL will most probably be stored in the Windows/System folder, but on webservers, etc. it may be necessary to store the file in a different location.

Syntax

Delphi

function TPDFlib.SetGDIPlusFileName(Const DLLFileName: WideString): Integer;

ActiveX

Function PDFlib::SetGDIPlusFileName(DLLFileName As String) As Long

DLL

int DLSetGDIPlusFileName(int InstanceID, wchar_t * DLLFileName);

Parameters

DLLFileNameThe path and file name of the GDI+ DLL, for example "c:\dlls\gdiplus.dll".

Return values

0The specified file could not be found
1The GDI+ DLL file name was set successfully