The LEADTOOLS C++ Class Library is a wrapper to the LEADTOOLS C API and provides only a subset of the features and functionality otherwise available in the LEADTOOLS C API. For more information about the full feature set of the LEADTOOLS C API, refer to LEADTOOLS C API Introduction.
Is this page helpful?
#include "ltwrappr.h"
virtual L_INT LTwain::CloseTemplateFile (hFile)
Closes the opened template file.
Handle to an existing template file.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Closes and saves the template file opened by calling the LTwain::OpenTemplateFile function.
For more information on template files, refer to Handling Template Files.
Required DLLs and Libraries
For an example, refer to LTwain::AddCapabilityToFile.