VintaSoft Twain .NET SDK v10.2
In This Topic
    API changes in version 10.0
    In This Topic

    API changes in Vintasoft.Twain.dll

    Removed classes:

    public class Vintasoft.Twain.DeviceManagerStateChangedEventArgs Class is not necessary any more.
    public class Vintasoft.Twain.DeviceStateChangedEventArgs Class is not necessary any more.


    Changed classes:

    Vintasoft.Twain.DeviceManager
    Removed events
    public event System.EventHandlerDeviceManagerStateChangedEventArgs> StateChanged Event is not necessary any more.


    Vintasoft.Twain.Device
    Added properties
    public Vintasoft.Twain.DeviceAsyncEventArgs AsyncEventArgs { get; } Gets the object that provides information about async event of device if image acquisition process is synchronous.
    public bool CloseAfterModalAcquire { get; set; } Determines that device must be closed after modal acquisition of images.
    public int ImageAcquiringProgressValue { get; } Gets the progress, in percents, of synchronous image acquisition process.
    Added events
    public event System.EventHandler ScanFinished Occurs when scan process is finished (scan session(s) is completed; scan is canceled; scan is failed; device UI is closed).
    Removed events
    public event System.EventHandlerDeviceStateChangedEventArgs> StateChanged Event is not necessary any more.


    Changed enumerations:

    Vintasoft.Twain.AcquireModalState
    Added fields
    public Vintasoft.Twain.AcquireModalState DeviceEvent Asynchronous event from device is received.
    public Vintasoft.Twain.AcquireModalState ImageAcquiringProgress Image is acquiring.
    public Vintasoft.Twain.AcquireModalState ScanFinished Scan process is finished (scan session(s) is completed; scan is canceled; scan is failed; device UI is closed).



    API changes in Vintasoft.WpfTwain.dll

    Removed classes:

    public class Vintasoft.WpfTwain.DeviceManagerStateChangedEventArgs Class is not necessary any more.
    public class Vintasoft.WpfTwain.DeviceStateChangedEventArgs Class is not necessary any more.


    Changed classes:

    Vintasoft.WpfTwain.DeviceManager
    Removed events
    public event System.EventHandlerDeviceManagerStateChangedEventArgs> StateChanged Event is not necessary any more.


    Vintasoft.WpfTwain.Device
    Added properties
    public Vintasoft.WpfTwain.DeviceAsyncEventArgs AsyncEventArgs { get; } Gets the object that provides information about async event of device if image acquisition process is synchronous.
    public bool CloseAfterModalAcquire { get; set; } Determines that device must be closed after modal acquisition of images.
    public int ImageAcquiringProgressValue { get; } Gets the progress, in percents, of synchronous image acquisition process.
    Added events
    public event System.EventHandler ScanFinished Occurs when scan is finished (images are acquired; scan is canceled; scan is failed; device UI is closed without image acquisition).
    Removed events
    public event System.EventHandlerDeviceStateChangedEventArgs> StateChanged Event is not necessary any more.


    Changed enumerations:

    Vintasoft.WpfTwain.AcquireModalState
    Added fields
    public Vintasoft.WpfTwain.AcquireModalState DeviceEvent Asynchronous event from device is received.
    public Vintasoft.WpfTwain.AcquireModalState ImageAcquiringProgress Image is acquiring.
    public Vintasoft.Twain.AcquireModalState ScanFinished Scan process is finished (scan session is completed; scan is canceled; scan is failed; user interface is closed).



    See Also

    About VintaSoft Twain .NET SDK