Gets the name of the disk file used by this file-based L_OcrDocument.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_GetFileName(document, value, count)
Handle to the OCR document.
Allocated string buffer to hold the document file-based disk file path, you should allocate enough memory for the this buffer to be filled.
Number of the allocated string buffer elements, this should be _countof(value).
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets the name of the disk file used by this file-based L_OcrDocument.
For an example, refer to L_OcrDocumentManager_CreateDocument