ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDE_font_create_from_sysfont_with_params
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_FONT > IG_PDE_font_create_from_sysfont_with_params

Used to obtain a PDE Font corresponding to a font in the system.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_font_create_from_sysfont_with_params(
        HIG_PDF_SYSFONT hSysFont,
        LPAT_PDE_FONT_CREATEFROMSYSFONTPARAMS lpParams,
        LPHIG_PDE_FONT lphFont 
);

Arguments:

Name Type Description
hSysFont HIG_PDF_SYSFONT PDF system font object referencing a system font.
lpParams LPAT_PDE_FONT_CREATEFROMSYSFONTPARAMS Pointer to the parameters structure.
lphFont LPHIG_PDE_FONT The new PDE Font object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Call IG_PDE_font_release to dispose of the returned font object when finished with it.