TwainGetCapRangeNumeric Method (GdPictureImaging)
Returns the three parameters that define a Range for a TWAIN capability. Many capabilities allow
users to select their current value from a range of regularly spaced values. The capability can
specify the minimum and maximum acceptable values and the incremental step size between values. For
example, resolution might be supported from 100 to 600 in steps of 50 (100, 150, 200, ..., 550,
600).
public bool TwainGetCapRangeNumeric(
TwainCapabilities ,
ref double ,
ref double ,
ref double
)
public function TwainGetCapRangeNumeric(
: TwainCapabilities;
var : Double;
var : Double;
var : Double
): Boolean;
public function TwainGetCapRangeNumeric(
: TwainCapabilities,
: double,
: double,
: double
) : boolean;
public: bool TwainGetCapRangeNumeric(
TwainCapabilities ,
ref double ,
ref double ,
ref double
)
public:
bool TwainGetCapRangeNumeric(
TwainCapabilities ,
double% ,
double% ,
double%
)
'Declaration
Public Function TwainGetCapRangeNumeric( _
ByVal As TwainCapabilities, _
ByRef As Double, _
ByRef As Double, _
ByRef As Double _
) As Boolean
Parameters
- Cap
- A member of the TwainCapabilities enumeration.
- nMinValue
- Output parameter. Starting value in the range.
- nMaxValue
- Output parameter. Final value in the range.
- nStepValue
- Output parameter. Increment from nMinValue to nMaxValue.
Return Value
True if success, else False -> use TwainGetLastResultCode() and TwainGetLastConditionCode()
methods for diagnosing the error.