#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_GetFileName(document, value, count)
| L_OcrDocument document; | handle to the OCR document |
| L_TCHAR* value; | allocated string buffer to hold the document file-based disk file path, you should allocate enough memory for the this buffer to be filled |
| L_UINT count; | number of the allocated string buffer elements |
Gets the name of the disk file used by this file-based L_OcrDocument.
| Parameter | Description |
|---|---|
| document | Handle to the OCR document. |
| value | Allocated string buffer to hold the document file-based disk file path, you should allocate enough memory for the this buffer to be filled. |
| count | Number of the allocated string buffer elements, this should be _countof(value). |
| 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
| LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrDocumentManager_CreateDocument.