Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SaveSettings Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : SaveSettings Method



fileName
name of the settings file to which the settings will be saved.
fileName
name of the settings file to which the settings will be saved.
Saves the current engine settings to a file.

Syntax

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

Parameters

fileName
name of the settings file to which the settings will be saved.

Example

Refer to Startup example.

Remarks

To load the engine settings from a file, call LoadSettings. You must call Startup method before calling SaveSettings method. However, if you call SaveSettings after calling Startup, but before you have set any of the engine settings, the settings file will contain the default settings.
For more information, refer to Starting and Shutting Down the Engine.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.