ImageGear for C and C++ on Windows v20.0 - Updated
IG_PDF_sysfont_enumerate
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_SYSFONT > IG_PDF_sysfont_enumerate

Enumerates all of the system fonts with a user-supplied procedure.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_sysfont_enumerate(
        LPFNIG_PDF_SYSFONT_ENUMPROC lpfnEnumProc,
        LPVOID lpClientData 
);

Arguments:

Name Type Description
lpfnEnumProc LPFNIG_PDF_SYSFONT_ENUMPROC User-supplied callback to call once for each system font. Enumeration continues until all fonts have been enumerated, or until lpfnEnumProc returns FALSE.
lpClientData LPVOID Pointer to user-supplied data to pass to lpfnEnumProc each time it is called.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The SysFont parameters must be copied during the enumeration if they are needed beyond the lpfnEnumProc.

Developers should not assume that the lpfnEnumProc will get called. If no system fonts are found, lpfnEnumProc is never called.

Is this page helpful?
Yes No
Thanks for your feedback.