VintaSoft Twain .NET SDK v10.3
Vintasoft.Twain Namespace / Device Class / LampState Property

In This Topic
    LampState Property (Device)
    In This Topic
    Determines that the lamp of device is on.
    Public Property LampState As Boolean
    Dim instance As Device
    Dim value As Boolean
    instance.LampState = value
    value = instance.LampState
    public bool LampState {get; set;}
    public: __property bool get_LampState();
    public: __property void set_LampState( 
       bool value
    property bool LampState {
       bool get();
       void set (    bool value);
    Thrown if device is in wrong state.
    Thrown if device does not support capability.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Call this property only when device is opened (State == DeviceState.Opened).

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also