ImageGear for C and C++ on Linux v19.10 - Updated
IG_PDF_font_get_bbox
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_FONT > IG_PDF_font_get_bbox

Gets a Type 3 font's bounding box, which is the smallest rectangle that would enclose every character in the font if they were overlaid and painted.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_font_get_bbox(
        HIG_PDF_FONT hFont,
        LPAT_PDF_FIXEDRECT lpBBox
);

Arguments:

Name Type Description
hFont HIG_PDF_FONT The font whose bounding box is obtained.
lpBBox LPAT_PDF_FIXEDRECT The font's bounding box.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.