Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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 TwainSession.SaveTemplate event occurs.
For more information, refer to Handling Template Files.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also