CloseTemplateFile method (Twain Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

int CloseTemplateFile(HTWAINTEMPLATEFILE hFile);

Delphi Syntax

Function CloseTemplateFile (hFile: HTWAINTEMPLATEFILE ): L_INT;

Overview

Refer to Handling Template Files.

Remarks

Closes the opened template file.

Closes and saves the template file opened by calling the OpenTemplateFile method.

For more information on template files, refer to Handling Template Files.

See Also

Elements:

OpenTemplateFile method, AddCapabilityToFile method, GetCapabilityFromFile method, GetNumOfCapsInFile method, ShowTemplateDlg method, InitSession method, EndSession method.

Topics:

TWAIN Functionality: Template Files.