Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SaveSettings Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : SaveSettings Method




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
)
Managed Extensions for 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 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

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features