GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainLoadConfiguration Method / TwainLoadConfiguration(String) Method
The file containing the current device configuration data.





In This Topic
TwainLoadConfiguration(String) Method
In This Topic
Loads from a file, settings of the opened source, e.g. DPI, paper size, color format.
Syntax
'Declaration
 
Public Overloads Function TwainLoadConfiguration( _
   ByVal FilePath As String _
) As Boolean
public bool TwainLoadConfiguration( 
   string FilePath
)
public function TwainLoadConfiguration( 
    FilePath: String
): Boolean; 
public function TwainLoadConfiguration( 
   FilePath : String
) : boolean;
public: bool TwainLoadConfiguration( 
   string* FilePath
) 
public:
bool TwainLoadConfiguration( 
   String^ FilePath
) 

Parameters

FilePath
The file containing the current device configuration data.

Return Value

TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4) To get the TWAIN state, use the TwainGetState() method.
See Also