Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

SaveTemplateFile Method






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
public void SaveTemplateFile( 
   string templateFileName
)
'Declaration
 
Public Sub SaveTemplateFile( _
   ByVal templateFileName As String _
) 
'Usage
 
Dim instance As TwainSession
Dim templateFileName As String
 
instance.SaveTemplateFile(templateFileName)
public void SaveTemplateFile( 
   string templateFileName
)
 function Leadtools.Twain.TwainSession.SaveTemplateFile( 
   templateFileName 
)
public:
void SaveTemplateFile( 
   String^ templateFileName
) 

Parameters

templateFileName
The name of the file in which to save the capabilities of the selected TWAIN source.
Remarks
For each capability enumerated by this method, an Leadtools.Twain.TwainSession.SaveTemplate event occurs.
For more information, refer to Handling Template Files.
Example
Refer to TwainSession.LoadTemplateFile
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainSession Class
TwainSession Members
Leadtools.Twain.TwainSession.SaveTemplate
Leadtools.Twain.TwainSession.LoadTemplate
LoadTemplateFile Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.