VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / Device Class / LightSource Property

In This Topic
    LightSource Property (Device)
    In This Topic
    Gets or sets the general color characteristic of the light source for current scan session.
    Public Property LightSource As LightSource
    Dim instance As Device
    Dim value As LightSource
    instance.LightSource = value
    value = instance.LightSource
    public LightSource LightSource {get; set;}
    public: __property LightSource get_LightSource();
    public: __property void set_LightSource( 
       LightSource value
    property LightSource LightSource {
       LightSource get();
       void set (    LightSource 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).

    Supported pixel types can be received by the GetSupportedLightSources method.

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

    See Also