GetNumOfCapsInFile method (Twain Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

int GetNumOfCapsInFile(HTWAINTEMPLATEFILE hFile, L_PUINT puCapCount);

Delphi Syntax

Function GetNumOfCapsInFile (hFile: HTWAINTEMPLATEFILE; puCapCount: L_PUINT ): L_INT;

Overview

Refer to Handling Template Files.

Remarks

Gets the number of stored capabilities from the specified file.

The template file must be opened for reading by calling OpenTemplateFile method.

See Also

Elements:

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

Topics:

TWAIN Functionality: Capabilities.