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

    API changes in Vintasoft.Twain.dll

    New classes:

    public abstract class Vintasoft.Twain.DeviceCapabilityValueBase Abstract base class for value of the device capability.
    public class Vintasoft.Twain.ArrayDeviceCapabilityValue Class that stores information about the device capability value represented as array.
    public class Vintasoft.Twain.EnumDeviceCapabilityValue Class that stores information about the device capability value represented as enumeration.
    public class Vintasoft.Twain.DeviceCamera Class that contains information about camera of device.
    public class Vintasoft.Twain.OneDeviceCapabilityValue Class that stores information about the device capability value represented as single value.
    public class Vintasoft.Twain.RangeDeviceCapabilityValue Class that stores information about the device capability value represented as range.
    public class Vintasoft.Twain.DeviceCameraCollection Class that represents a collection of cameras supported by device.
    public class Vintasoft.Twain.TwainEnvironment Provides information about the current environment and platform.


    Removed classes:

    public class Vintasoft.Twain.DeviceManagerLogger Use the TwainEnvironment class instead.
    public class Vintasoft.Twain.TypeConverter Use the DeviceCapabilityValueBase class instead.


    Changed classes:

    Vintasoft.Twain.DeviceManager
    Removed properties
    public Vintasoft.Twain.DeviceManagerLogger Logger { get; set; } Use TwainEnvironment.EnableDebugging method instead.


    Vintasoft.Twain.Device
    Added properties
    public Vintasoft.Twain.DeviceCameraCollection Cameras { get; } Gets a list of cameras supported by device.
    Changed methods
    public Single[] GetSupportedHorizontalResolutions() public Vintasoft.Twain.DeviceCapabilityValueBase GetSupportedHorizontalResolutions()
    public Single[] GetSupportedVerticalResolutions() public Vintasoft.Twain.DeviceCapabilityValueBase GetSupportedVerticalResolutions()
    public Single[] GetSupportedThresholdValues() public Vintasoft.Twain.DeviceCapabilityValueBase GetSupportedThresholdValues()
    public Single[] GetSupportedBrightnessValues() public Vintasoft.Twain.DeviceCapabilityValueBase GetSupportedBrightnessValues()
    public Single[] GetSupportedContrastValues() public Vintasoft.Twain.DeviceCapabilityValueBase GetSupportedContrastValues()


    Vintasoft.Twain.DeviceCapability
    Added properties
    public System.Type EnumType { get; } Gets the type of enumeration associated with this capability.
    Added methods
    public Vintasoft.Twain.DeviceCapabilityValueBase GetValue() Returns value of capability.
    public Vintasoft.Twain.DeviceCapabilityValueBase GetCurrentValue() Return current value of capability.
    public Vintasoft.Twain.DeviceCapabilityValueBase GetDefaultValue() Returns default value of capability.
    Removed methods
    public System.Object GetValue() Gets the current value of device capability.
    public System.Object GetValues(System.Object[] ByRef) Gets the current value, default value and supported values of device capability.
    public System.Object GetValues(System.Object[] ByRef, System.Object ByRef) Gets the current value and supported values of device capability.


    Vintasoft.Twain.Fix32
    Added fields
    public Vintasoft.Twain.Fix32 Empty Represents a Fix32 class with its properties left uninitialized.
    Added methods
    public bool Equals(System.Object) Returns a value indicating whether this instance is equal to a specified object.
    public int GetHashCode() Serves as a hash function for Fix32 type.


    Vintasoft.Twain.Frame
    Added methods
    public System.Drawing.RectangleF ToRectangleF() Returns frame as a System.Drawing.RectangleF.


    New enumerations:

    public enum Vintasoft.Twain.DebugLevel Specifies available debug levels.
    public enum Vintasoft.Twain.DeviceCapabilityContainerType Specifies available capability types.
    public enum Vintasoft.Twain.DeviceCameraSide Specifies available sides of camera.


    Removed enumerations:

    public enum Vintasoft.Twain.LogInfoLevel Determines available info levels for log-file.
    public enum Vintasoft.Twain.CapType Specifies available capability types.


    Changed enumerations:

    Vintasoft.Twain.ExtendedImageInfoId
    Added fields
    public Vintasoft.Twain.ExtendedImageInfoId Kodak_PageSide Side of page (0-front 1-rear). This extended info supported only by Kodak scanners.
    public Vintasoft.Twain.ExtendedImageInfoId Kodak_DocumentCount Count of pages. This extended info supported only by Kodak scanners.
    public Vintasoft.Twain.ExtendedImageInfoId Kodak_ImageNumber Count images this session. This extended info supported only by Kodak scanners.
    public Vintasoft.Twain.ExtendedImageInfoId Kodak_PageNumber Count sheets of paper this session. This extended info supported only by Kodak scanners.
    public Vintasoft.Twain.ExtendedImageInfoId Kodak_PageImageNumber Image count on a page (1 - 4). This extended info supported only by Kodak scanners.


    API changes in Vintasoft.Wpf.Twain.dll

    New classes:

    public abstract class Vintasoft.Wpf.Twain.DeviceCapabilityValueBase Abstract base class for value of the device capability.
    public class Vintasoft.Wpf.Twain.ArrayDeviceCapabilityValue Class that stores information about the device capability value represented as array.
    public class Vintasoft.Wpf.Twain.EnumDeviceCapabilityValue Class that stores information about the device capability value represented as enumeration.
    public class Vintasoft.Wpf.Twain.DeviceCamera Class that contains information about camera of device.
    public class Vintasoft.Wpf.Twain.OneDeviceCapabilityValue Class that stores information about the device capability value represented as single value.
    public class Vintasoft.Wpf.Twain.RangeDeviceCapabilityValue Class that stores information about the device capability value represented as range.
    public class Vintasoft.Wpf.Twain.DeviceCameraCollection Class that represents a collection of cameras supported by device.
    public class Vintasoft.Wpf.Twain.TwainEnvironment Provides information about the current environment and platform.


    Removed classes:

    public class Vintasoft.Wpf.Twain.DeviceManagerLogger Use the TwainEnvironment class instead.
    public class Vintasoft.Wpf.Twain.TypeConverter Use the DeviceCapabilityValueBase class instead.


    Changed classes:

    Vintasoft.Wpf.Twain.DeviceManager
    Removed properties
    public Vintasoft.Wpf.Twain.DeviceManagerLogger Logger { get; set; } Use TwainEnvironment.EnableDebugging method instead.


    Vintasoft.Wpf.Twain.Device
    Added properties
    public Vintasoft.Wpf.Twain.DeviceCameraCollection Cameras { get; } Gets a list of cameras supported by device.
    Changed methods
    public Single[] GetSupportedHorizontalResolutions() public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetSupportedHorizontalResolutions()
    public Single[] GetSupportedVerticalResolutions() public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetSupportedVerticalResolutions()
    public Single[] GetSupportedThresholdValues() public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetSupportedThresholdValues()
    public Single[] GetSupportedBrightnessValues() public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetSupportedBrightnessValues()
    public Single[] GetSupportedContrastValues() public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetSupportedContrastValues()


    Vintasoft.Wpf.Twain.DeviceCapability
    Added properties
    public System.Type EnumType { get; } Gets the type of enumeration associated with this capability.
    Added methods
    public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetValue() Returns value of capability.
    public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetCurrentValue() Return current value of capability.
    public Vintasoft.Wpf.Twain.DeviceCapabilityValueBase GetDefaultValue() Returns default value of capability.
    Removed methods
    public System.Object GetValue() Gets the current value of device capability.
    public System.Object GetValues(System.Object[] ByRef) Gets the current value, default value and supported values of device capability.
    public System.Object GetValues(System.Object[] ByRef, System.Object ByRef) Gets the current value and supported values of device capability.


    Vintasoft.Wpf.Twain.Fix32
    Added fields
    public Vintasoft.Wpf.Twain.Fix32 Empty Represents a Fix32 class with its properties left uninitialized.
    Added methods
    public bool Equals(System.Object) Returns a value indicating whether this instance is equal to a specified object.
    public int GetHashCode() Serves as a hash function for Fix32 type.


    Vintasoft.Wpf.Twain.Frame
    Added methods
    public Vintasoft.Wpf.Twain.RectangleF ToRectangleF() Returns frame as a RectangleF.


    New enumerations:

    public enum Vintasoft.Wpf.Twain.DebugLevel Specifies available debug levels.
    public enum Vintasoft.Wpf.Twain.DeviceCapabilityContainerType Specifies available capability types.
    public enum Vintasoft.Wpf.Twain.DeviceCameraSide Specifies available sides of camera.


    Removed enumerations:

    public enum Vintasoft.Wpf.Twain.LogInfoLevel Determines available info levels for log-file.
    public enum Vintasoft.Wpf.Twain.CapType Specifies available capability types.


    Changed enumerations:

    Vintasoft.Wpf.Twain.ExtendedImageInfoId
    Added fields
    public Vintasoft.Wpf.Twain.ExtendedImageInfoId Kodak_PageSide Side of page (0-front 1-rear). This extended info supported only by Kodak scanners.
    public Vintasoft.Wpf.Twain.ExtendedImageInfoId Kodak_DocumentCount Count of pages. This extended info supported only by Kodak scanners.
    public Vintasoft.Wpf.Twain.ExtendedImageInfoId Kodak_ImageNumber Count images this session. This extended info supported only by Kodak scanners.
    public Vintasoft.Wpf.Twain.ExtendedImageInfoId Kodak_PageNumber Count sheets of paper this session. This extended info supported only by Kodak scanners.
    public Vintasoft.Wpf.Twain.ExtendedImageInfoId Kodak_PageImageNumber Image count on a page (1 - 4). This extended info supported only by Kodak scanners.


    See Also