#include "l_bitmap.h"
L_LTDOCWRT_API L_INT EXT_FUNCTION L_DocWriterAppendLtd(pszSrcFileName, pszDestFileName)
Appends one LEADTOOLS Temporary Document (LTD) file to another.
Character string containing the source LTD file (source file).
Character string containing the destination LTD file (output file).
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
You can use this function to append several LTD files together before calling L_DocWriterConvert.
This can be useful in a multi-threading OCR solution.
pszSrcFileName
must exist on disk before calling this function, otherwise, an exception will be thrown.
pszDestFileName
may or may not exist prior to calling this function, if it does not exist, a new file is created and the data is copied as is from the source file.
When this function returns, pszDestFileName will contain all the pages from the source and destination file (if exists), for example if the source file has 10 pages and the destination file has 20 pages, the result will be an LTD with 30 pages in pszDestFileName with the 10 pages from the source file appended to the end of the destination file at page index 20, 21, 22, etc.
The source file name is never changed by this function.
Required DLLs and Libraries
Win32, x64.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document