Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

PowerSupply Property






Gets or sets current power supply in use.
Syntax
public int PowerSupply {get; set;}
'Declaration
 
Public Property PowerSupply As Integer
'Usage
 
Dim instance As TwainDeviceEvent
Dim value As Integer
 
instance.PowerSupply = value
 
value = instance.PowerSupply
public int PowerSupply {get; set;}
 get_PowerSupply();
set_PowerSupply(value);
public:
property int PowerSupply {
   int get();
   void set (    int value);
}

Property Value

Power supply in use Valid for TwainCapabilityValue.DeviceEventCheckPowerSupply only
Example
Refer to TwainSession.GetDeviceEventData example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainDeviceEvent Class
TwainDeviceEvent Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.