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

BatteryPercentage Property






Gets or sets percentage of battery power remaining.
Syntax
public short BatteryPercentage {get; set;}
'Declaration
 
Public Property BatteryPercentage As Short
'Usage
 
Dim instance As TwainDeviceEvent
Dim value As Short
 
instance.BatteryPercentage = value
 
value = instance.BatteryPercentage
public short BatteryPercentage {get; set;}
 get_BatteryPercentage();
set_BatteryPercentage(value);
public:
property short BatteryPercentage {
   short get();
   void set (    short value);
}

Property Value

Percentage of battery power remaining Valid for TwainCapabilityValue.DeviceEventCheckBattery 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.