#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_GetFileName(document, value, count)
Gets the name of the disk file used by this file-based L_OcrDocument.
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.
Required DLLs and Libraries
For an example, refer to L_OcrDocumentManager_CreateDocument