DTwainInterface::SetTempDirectory |
Top Previous Next |
Syntax static bool DTwainInterface::SetTempDirectory( const std::string sTempName );
Parameters sTempName The name of the directory to use for temporary files created during image acquisition.
Return Value Returns true if successful, false otherwise.
Comments DTwainInterface::SetTempDirectory changes the path used by DTWAIN when storing temporary files created during some image acquisition types. When acquiring files using DTWAIN mode, temporary files may be created by DTWAIN. By default, these files are stored in the directory specified by the system's temporary files folder. To change this location where DTWAIN will store these files, call DTwainInterface::SetTempDirectory with the full name of the path.
The directory must already exist before calling this function.
To reset the path back to the system's temporary path, sTempName should be an empty string.
|