Available in the LEADTOOLS Imaging toolkit. |
SaveTemplate method (ILEADRasterTwain)
short SaveTemplate (BSTR strTemplateFile) | |
Overview |
Refer to Handling Template Files. |
Remarks
Enumerates all supported capabilities, and the current values, for the currently selected TWAIN source and saves them to the specified template file.
For each capability enumerated by this method, a SaveTemplateEvent event or a SaveTemplateEvent2 event fires.
The SaveTemplateEvent2 event will fire only if the EnableSaveTemplateEvent property has been set to TRUE.
The SaveTemplateEvent event is used by the MFC users. It takes as a parameter a pointer to an ICapability interface that references the capability values to be saved.
The SaveTemplateEvent2 event is used by the Visual Basic users. It takes as a parameter a pointer to an ILEADTwainCapability interface that references the capability values to be saved.
For more information on template files, refer to Handling Template Files.
See Also