DTWAIN_TwainSave

Top  Previous  Next

The DTWAIN_TwainSave allows an application to acquire and save images to files using a TwainSave command-line option string.

 

LONG DTWAIN_TwainSave ( LPCTSTR cmdStr );

 

 

Parameters

cmdStr

The TwainSave command-line to use.

 

Return Values

The TwainSave return code.  Consult the TwainSave documentation on various return codes.

 

Character specific version

ANSI version:

DTWAIN_TwainSaveA

Unicode version:

DTWAIN_TwainSaveW

 

Comments

The DTWAIN_TwainSave function allows an application to acquire and save images using the TwainSave command-line.

 

TwainSave is a standalone, command-line program from DynaRithmic Software that easily allows applications to acquire and save images in various formats.  The DTWAIN library has the same technology used in our TwainSave product, therefore DTWAIN will allow a program to easily call TwainSave command-line options to acquire and save files.

 

You do not need the standalone TwainSave application to use DTWAIN_TwainSave.

 

A listing of the command-line options are covered in the TwainSave section of the manual.

 

Example:

 

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize