'Declaration
Public Function TwainSetCapCurrentNumeric( _ ByVal Cap As TwainCapabilities, _ ByVal ItemType As TwainItemTypes, _ ByVal NewValue As Double _ ) As Boolean
public bool TwainSetCapCurrentNumeric( TwainCapabilities Cap, TwainItemTypes ItemType, double NewValue )
public function TwainSetCapCurrentNumeric( Cap: TwainCapabilities; ItemType: TwainItemTypes; NewValue: Double ): Boolean;
public function TwainSetCapCurrentNumeric( Cap : TwainCapabilities, ItemType : TwainItemTypes, NewValue : double ) : boolean;
public: bool TwainSetCapCurrentNumeric( TwainCapabilities Cap, TwainItemTypes ItemType, double NewValue )
public: bool TwainSetCapCurrentNumeric( TwainCapabilities Cap, TwainItemTypes ItemType, double NewValue )
Parameters
- Cap
- A member of the TwainCapabilities enumeration.
- ItemType
- A member of the TwainItemTypes enumeration.You can determine the type of each TWAIN capability using the TwainGetCapItemType method or looking the twain references from http://www.twain.org.
- NewValue
- New value (as numeric) to set to the selected TWAIN capability.
Return Value
True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode()
methods for diagnosing the error.