ImageGear Professional v18.4 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > User Dictionary Functions > IG_REC_UD_section_first_get |
This function has been deprecated and will be removed from the public API in a future release.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_UD_section_first_get( LPSTR pSection, AT_INT buflen ); |
Name | Type | Description |
pSection | LPSTR | Pointer to a buffer for the name of the first section in the User dictionary. |
buflen | AT_INT | Specifies the size of the buffer in bytes. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; AT_INT iSize = 1024; LPSTR lpszFirst = (LPSTR) malloc(iSize); ErrCount += IG_REC_UD_set("NEW_USER.DICT", "Section_A"); ErrCount += IG_REC_UD_edit_open(); ErrCount += IG_REC_UD_section_first_get(lpszFirst, iSize); ErrCount += IG_REC_UD_edit_close(); free(lpszFirst); |
Creates a listing of the sections in the User dictionary currently opened for editing by the IG_REC_UD_edit_open function.
This function should be used together with IG_REC_UD_section_next_get.