ImageGear for C and C++ on Windows v19.9 - Updated
IG_REC_vertical_dict_available_desc_len_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Vertical Dictionary Functions > IG_REC_vertical_dict_available_desc_len_get

Gets the length of a vertical dictionary's description.

Declaration:

 
Copy Code
AT_ERRCOUNT IG_REC_vertical_dict_available_desc_len_get(
   AT_INT index,
   LPAT_INT lpDescLen
);

Arguments:

Name Type Description
index AT_INT Index of the vertical dictionary description length to retrieve.
lpDescLen LPAT_INT Receives the length of the description.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_INT iVDCount = 0;
AT_INT iVDIndex = 0;
AT_INT iDescLen = 0;

ErrCount += IG_REC_vertical_dict_available_count_get(&iVDCount);
while(iVDIndex < iVDCount)
{
    ErrCount += IG_REC_vertical_dict_available_desc_len_get(iVDIndex, &iDescLen);
    //...
    iVDIndex++;
}