TwainSetOptions

Sets options for the currently open data source.

Synopsis

error = TwainSetOptions(Options)

Args

Options can be any of the following, each separated by a "|" character.

Options Meaning
'UI' When TwainAcquire is called, the data source will present some dialog box to the enduser to let him set some options, such as color resolution, etc. By not specifying this option, that dialog is not presented.

If omitted, it defaults to "UI".

Returns

An empty string if success, or an error code.

Notes

Typically this is called at the start of your main script, after the Data Source Manager has been opened with TwainOpenDSM.

Pass an empty string to turn off all options above.