Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LFileSettings::GetPDFInitDir

Show in webframe

#include "ltwrappr.h"

static L_INT LFileSettings::GetPDFInitDir(pszInitDir, uBufSize)

L_TCHAR * pszInitDir;

/* path of the initialization directory */

L_UINT uBufSize;

/* size in bytes of the data buffer pointed to by pszInitDir */

Retrieves the current path of the PDF initialization directories.

Parameter

Description

pszInitDir

Character string that contains the PDF initialization directory path to update.

uBufSize

The size (in bytes) of the data buffer that pszInitDir points to.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function retrieves the current path of the PDF initialization directories.

The default PDF initialization directories path is stored in the system registry key: "HKEY_LOCAL_MACHINE\SOFTWARE\LEAD Technologies, Inc.\Pdf\GS_LIB".

If this function returns an empty string (length = 0), then the engine will look for the PDF Initialization files in the default PDF initialization directories path (specified by the registry key).

To set a new path for the PDF initialization directories, call LFileSettings::SetPDFInitDir.

Required DLLs and Libraries

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LFileSettings::SetPDFInitDir

Topics:

PDF Features

 

Raster Image Functions: Input/Output File Filters

Example

For an example, refer to LFileSettings::SetPDFInitDir.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.