LFileSettings::GetPDFInitDir

Summary

Retrieves the current path of the PDF initialization directories.

Syntax

#include "ltwrappr.h"

static L_INT LFileSettings::GetPDFInitDir(pszInitDir, uBufSize)

Parameters

L_TCHAR * pszInitDir

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

L_UINT uBufSize

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

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LFileSettings::SetPDFInitDir.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.