This function is used to initialize the ImageGear PDF Component.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_initialize( LPVOID lpVoid ); |
Arguments:
lpVoid | Reserved, must be set to NULL. |
Return Value:
Error count
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
To initialize the ImageGear PDF component it needs to be attached to the core ImageGear and then IG_PDF_initialize() function must be called.
The following resource content is required by the ImageGear PDF component initialization routine:
Resource\PDF\CIDFont\ | PDF CID fonts directory. | ||
Resource\PDF\CMap\ | PDF font CMaps directory. | ||
Resource\PDF\Font\ | PDF fonts directory. | ||
Resource\PDF\Unicode\ | PDF unicode mappings directory. | ||
Resource\PS\ColorRendering\ | Color rendering PostScript. | ||
Resource\PS\ICCProfiles\ |
Directory containing the ICC profiles that allow using the Adobe® Color Engine® (ACE®).
|
||
Resource\PS\Fonts\ | PS fonts directory. | ||
Resource\PS\ProcSet\ | PostScript procedures. | ||
Resource\PS\ps.vm | A file for initializing the PostScript Interpreter's virtual memory. | ||
Resource\PS\startupNORM.ps | Startup PostScript program used to initialize the PostScript Interpreter. | ||
Resource\PS\superatm.db | Adobe® Type Manager® (ATM®) database used to substitute missing fonts. |
The ImageGear PDF component uses the following PDF global control parameters to locate the resource content:
PDF.PDF_RESOURCE_PATH | Path to the Resource\PDF directory |
PDF.PS_RESOURCE_PATH | Path to the Resource\PS directory |
PDF.HOST_FONT_PATH | Path to the system font directory |
PDF.TMP_PATH | Path to the TEMP directory |
If the PDF global parameters are not defined, the ImageGear PDF Component behavior depends on the OS:
- Resource content gets from the ImageGear component directory defined by COMM.PATH parameter
- Host fonts get from the Windows font directory
- Temporary directory gets from the GetTempPath() result