Debenu Quick PDF logo

GhostScriptInit

Version history

This function is not available from Quick PDF Library version 7.11.

The built in rendering functions should be used instead.

Description

Specifies the full path to the GhostScript Interpreter DLL, gsdll32.dll. This function must be called before the GhostScriptGetPagePreview function is called. See the GhostScript website (www.ghostscript.com) for details of licensing issues, etc.

Definition

function GhostScriptInit(DLLFileName As String) As Long

Parameters

DLLFileName The full name and path to the GhostScript DLL, for example "c:\gs\gs8.00\bin\gsdll32.dll".

Returns

0 The GhostScript DLL could not be found or does not support all the required functions. Version 8.00 is required.
1 The DLL was found and supports all the required functions.