ImageGear for C and C++ on Linux v18.10 - Updated
IG_PDF_word_get_quad_count
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_WORD > IG_PDF_word_get_quad_count

Gets the number of quads in a word.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_word_get_quad_count (
        HIG_PDF_WORD hWord, 
                LPWORD lpnQuadCount
);

Arguments:

Name Type Description
hWord HIG_PDF_WORD The word whose quad count is obtained.
lpnQuadCount LPWORD The number of quads in the word.

Remarks:

A quad is a quadrilateral bounding a contiguous piece of a word. Every word has at least one quad. A word has more than one quad, for example, if it is hyphenated and split across multiple lines or if the word is set on a curve rather than on a straight line.

Supported Raster Image Formats:

This function does not process image pixels.

Return Value:

Error count.