ImageGear .NET - Updated
ChangeDirectory Method




ImageGear24.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : ChangeDirectory Method
The name of directory.
This method selects the current device within the Data Source (camera, storage, etc).
Syntax
'Declaration
 
Public Sub ChangeDirectory( _
   ByVal directoryName As String _
) 
'Usage
 
Dim instance As ImGearTWAIN
Dim directoryName As String
 
instance.ChangeDirectory(directoryName)
public void ChangeDirectory( 
   string directoryName
)
public: void ChangeDirectory( 
   string* directoryName
) 
public:
void ChangeDirectory( 
   String^ directoryName
) 

Parameters

directoryName
The name of directory.
Remarks
If the device is a ImGearFileType.DOMAIN, then this command enters a directory that can contain ImGearFileType.HOST files. If the device is a ImGearFileType.HOST, then this command enters a directory that can contain ImGearFileType.DIRECTORY files. If the device is a ImGearFileType.DIRECTORY, then this command enters a directory that can contain ImGearFileType.DIRECTORY or ImGearFileType.IMAGE files.

Use OpenSource to select the desired Data Source, prior to calling this method.

See Also

Reference

ImGearTWAIN Class
ImGearTWAIN Members