Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LTwain::GetNumOfCapsInFile
#include "ltwrappr.h"
virtual L_UINT LTwain::GetNumOfCapsInFile (hFile)
HTWAINTEMPLATEFILE hFile; |
/* handle to an existing template file */ |
Gets the number of stored capabilities from the specified file.
Parameter |
Description |
hFile |
Handle to an existing template file. |
Returns
Number of capabilities in the specified file, if the function was successful.
Comments
The template file must be opened for reading by calling LTwain::OpenTemplateFile function.
Required DLLs and Libraries
LTTWN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
LTwain::OpenTemplateFile, LTwain::AddCapabilityToFile, LTwain::GetCapabilityFromFile, LTwain::TemplateDlg, LTwain::CloseTemplateFile, LTwain::InitSession. |
Topics: |
|
|
Example
For an example, refer to LTwain::GetCapabilityFromFile.