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

Gets the widths of a single byte encoded system font.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_sysfont_get_widths(
        HIG_PDF_SYSFONT hSysFont,
        LPSHORT lpWidths,
        LPAT_PDF_FIXED mmDesignVector 
);

Arguments:

Name Type Description
hSysFont HIG_PDF_SYSFONT A SysFont object referencing a system font whose widths are obtained.
lpWidths LPSHORT Pointer to widths array. lpWidths must have room for 256 entries.
mmDesignVector LPAT_PDF_FIXED If hSysFont is a multiple master font, points to the design vector, whose length must equal the number of design axes of hSysFont.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.