fpInit()

This function initializes an Export session. If initialization is successful, the KVPDFContext value pointed to by pContext is set to a valid context identifier. This context value must be passed as the first parameter to all other PDF Export functions.

Syntax

KVPDFState pascal fpInit(
    const char* const pszKeyViewDir,
    const char* const pszTempFolder,
    KVPDFContext* const pContext);

Arguments

pszKeyViewDir

A null-terminated C string that contains the path of the directory where the Export components are located. This is normally the directory install\OS\bin, where install is the path name of the Export installation directory and OS is the name of the operating system.

pszTempFolder

(Optional) A null-terminated C string that contains the path of a directory to use to store temporary files during the conversion process. Set this value to NULL to default to the system temporary directory.

pContext

A valid pointer to a value of type KVPDFContext. If initialization is successful, this target is set to a context-identifying value, which you must supply to subsequent export functions.

Returns

Discussion


_FT_HTML5_bannerTitle.htm