L_OcrDocument_GetFileName

#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).

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help