Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SaveTemplateFile Method
See Also 
Leadtools.Twain Namespace > TwainSession Class : SaveTemplateFile Method



templateFileName
The name of the file in which to save the capabilities of the selected TWAIN source.
templateFileName
The name of the file in which to save the capabilities of the selected TWAIN source.
Enumerates all supported capabilities, and the current values, for the currently selected TWAIN source and saves them to the specified template file.

Syntax

Visual Basic (Declaration) 
Public Sub SaveTemplateFile( _
   ByVal templateFileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim templateFileName As String
 
instance.SaveTemplateFile(templateFileName)
C# 
public void SaveTemplateFile( 
   string templateFileName
)
C++/CLI 
public:
void SaveTemplateFile( 
   String^ templateFileName
) 

Parameters

templateFileName
The name of the file in which to save the capabilities of the selected TWAIN source.

Example

Remarks

For each capability enumerated by this method, an SaveTemplate event occurs.
For more information, refer to Handling Template Files.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also