ImageGear for C and C++ on Windows v19.5 - Updated
IG_PDF_sysfont_get_attrs
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_SYSFONT > IG_PDF_sysfont_get_attrs

Gets the attributes of a system font.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_sysfont_get_attrs(
        HIG_PDF_SYSFONT hSysFont,
        LPAT_PDE_FONTATTRS lpAttrs 
);

Arguments:

Name Type Description
hSysFont HIG_PDF_SYSFONT A SysFont object referencing a system font.
lpAttrs LPAT_PDE_FONTATTRS Pointer to AT_PDE_FONTATTRS with the attributes of a system font.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The attributes will be returned in the buffer pointed to by lpAttrs.

This call can be expensive to execute, as it may involve parsing the font in order to determine attributes.