Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Twain.SetFolderPath
Sets the folder path for storing image files.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
Twain
|
3.1 |
✅ Yes |
✅ Yes |
❌ No |
❌ No |
❌ No |
MBS( "Twain.SetFolderPath"; path )
More
MBS(
"Twain.SetFolderPath"; /* Sets the folder path for storing image files. */
$path) /* The path to the folder to use for storing image files. If empty clears the file pathe.g. "/Users/cs/Desktop/" */
Less
Parameters
Parameter |
Description |
Example |
path |
The path to the folder to use for storing image files. If empty clears the file path |
"/Users/cs/Desktop/" |
Result
Returns OK on success.
Description
Sets the folder path for storing image files.
If you set the path with this function, images are not available with the Twain.CurrentImage function and Twain.ImageCount returns always zero. But with Twain.GetFilePaths you can learn where files have been stored.
The path must end with a slash on Mac and a backslash on Windows.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
See also
Example Databases
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 5th September 2014
Twain.SetFileType
-
Twain.SetGamma