DTwainRange::DTwainRange

Top  Previous  Next

Syntax

DTwainLongRange( );

DTwainLongRange( long lLowerBound, long lUpperBound, long lStep, long lDefault, long lCurrent );

DTwainLongRange( const DTwainLongRange& Range );

 

DTwainDoubleRange( );

DTwainDoubleRange( double dLowerBound, double dUpperBound, double dStep,

                                         double dDefault, double dCurrent );

DTwainDoubleRange( const DTwainDoubleRange& Range );

 

Comments

Use either one of these constructors to construct the appropriate DTwainRange object.  The default constructor for each range type (the constructors with no arguments) initializes all the range values to 0.

 

The copy constructors (the constructors that have DTwainLongRange& and DTwainDoubleRange& as arguments) take an existing DTwainLongRange or DTwainDoubleRange and creates a new DTwainRange using the Range argument.