DTwainSource::DTwainSource

Top  Previous  Next

Syntax

DTwainSource( DTWAIN_SOURCE Source );

DTwainSource( const DTwainSource& Source );

DTwainSource( );

 

Comments

Use either one of these constructors to construct the DTwainSource object.  The first form of the constructor takes an existing DTWAIN_SOURCE and attaches it to the DTwainSource object.  Once attached, any of the DTwainSource member functions can be called to act on the DTWAIN_SOURCE.  The second form of the constructor copies an existing DTwainSource (a basic copy constructor).  The third constructor creates an empty DTwainSource.

 

A DTwainSource constructor does not select or open a Source.  It only provides the wrapper for a DTWAIN_SOURCE.