VintaSoft Twain .NET SDK v10.3
In This Topic
    API changes in version 10.3
    In This Topic

    API changes in Vintasoft.Twain.dll

    Changed classes:

    Vintasoft.Twain.DeviceManager
    Added properties
    public bool Are32BitDevicesUsed { get; } Gets a value that indicates whether the device manager uses 32-bit devices.
    Added methods
    public void Use32BitDevices() Specifies that the device manager must use 32-bit devices.
    public void Use64BitDevices() Specifies that the device manager must use 64-bit devices.






    API changes in Vintasoft.WpfTwain.dll

    Changed classes:

    Vintasoft.WpfTwain.DeviceManager
    Added properties
    public bool Are32BitDevicesUsed { get; } Gets a value that indicates whether the device manager uses 32-bit devices.
    Added methods
    public void Use32BitDevices() Specifies that the device manager must use 32-bit devices.
    public void Use64BitDevices() Specifies that the device manager must use 64-bit devices.






    API changes in Vintasoft.Twain.Web.Services.dll

    New classes:

    public class Vintasoft.Twain.Web.Services.OpenDeviceResponseParams Response from a web service (controller/handler). Contains information about opened TWAIN device.


    Changed classes:

    Vintasoft.Twain.Web.Services.VintasoftTwainWebService
    Changed methods
    public Vintasoft.Shared.Web.BaseResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam) public Vintasoft.Twain.Web.Services.OpenDeviceResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam)






    API changes in Vintasoft.Twain.Web.WcfServices.dll

    Changed classes:

    Vintasoft.Twain.Web.WcfServices.VintasoftTwainWcfService
    Changed methods
    public Vintasoft.Shared.Web.BaseResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam) public Vintasoft.Twain.Web.Services.OpenDeviceResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam)




    Changed interfaces:

    Vintasoft.Twain.Web.WcfServices.IVintasoftTwainWcfService
    Changed methods
    public Vintasoft.Shared.Web.BaseResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam) public Vintasoft.Twain.Web.Services.OpenDeviceResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam)






    API changes in Vintasoft.Twain.Web.ApiControllers.dll

    Changed classes:

    Vintasoft.Twain.Web.ApiControllers.VintasoftTwainApiController
    Changed methods
    public Vintasoft.Shared.Web.BaseResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam) public Vintasoft.Twain.Web.Services.OpenDeviceResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam)






    API changes in Vintasoft.Twain.Web.Api2Controllers.dll

    Changed classes:

    Vintasoft.Twain.Web.Api2Controllers.VintasoftTwainApi2Controller
    Changed methods
    public Vintasoft.Shared.Web.BaseResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam) public Vintasoft.Twain.Web.Services.OpenDeviceResponseParams OpenDevice(Vintasoft.Twain.Web.Services.OpenDeviceRequestParam)






    API changes in Vintasoft.Twain.js

    New classes:

    public class Vintasoft.Twain.WebTwainDeviceDocumentFeederJS Class that allows to manipulate the automatic document feeder of TWAIN device.
    public class Vintasoft.Twain.WebTwainFrameJS Defines a frame rectangle in WebUnitOfMeasureEnumJS coordinates.


    Changed classes:

    Vintasoft.Twain.WebTwainDeviceJS
    Added properties
    public object get_DocumentFeeder { get; } Allows to manipulate the document feeder of device.
    public boolean get_HasFeeder { get; } Gets a value indicating whether the device has the automatic document feeder.
    public boolean get_HasFlatbed { get; } Gets a value indicating whether the device has flatbed.


    Added methods
    public object getAutoBright(object, object) Sends an asynchronous request to a server for getting a value indicating whether the brightness should be automatically detected.
    public object getAutoScan(object, object) Sends an asynchronous request to a server for getting a value indicating whether the device should capture the number of images indicated by the value of XferCount without waiting for the Application to request the image transfers.
    public object getBitDepth(object, object) Sends an asynchronous request to a server for getting information about the bit depth of images for current scan session.
    public object getBitDepthReductionMode(object, object) Sends an asynchronous request to a server for getting information about the bit depth reduction mode of images for current scan session.
    public object getBrightness(object, object) Sends an asynchronous request to a server for getting information about the brightness of gray/palette/color images for current scan session.
    public object getBufferedImageCount(object, object) Sends an asynchronous request to a server for getting information about the count of images in the device buffer.
    public object getCapabilities(object, object, object, object) Sends an asynchronous request to a server for getting information about TWAIN device capabilities.
    public object getCapability(object, object, object, object) Sends an asynchronous request to a server for getting information about TWAIN device capability.
    public object getContrast(object, object) Sends an asynchronous request to a server for getting information about the contrast of gray/palette/color images for current scan session.
    public object getDefaultImageLayout(object, object) Sends an asynchronous request to a server for getting information about the default image layout rectangle of TWAIN device.
    public object getFileFormat(object, object) Sends an asynchronous request to a server for getting information about the file format for images when File transfer mode is used.
    public object getFileJpegQuality(object, object) Sends an asynchronous request to a server for getting information about the JPEG quality for acquired images saved as JPEG files when File transfer mode is used.
    public object getHalftones(object, object) Sends an asynchronous request to a server for getting information about the halftones for bit depth reduction of images for current scan session.
    public object getImageCompression(object, object) Sends an asynchronous request to a server for getting information about the image compression for images when Memory or File transfer mode is used.
    public object getImageFilter(object, object) Sends an asynchronous request to a server for getting information about the image filter for current scan session.
    public object getImageLayout(object, object) Sends an asynchronous request to a server for getting information about current image layout rectangle of TWAIN device.
    public object getJobControl(object, object) Sends an asynchronous request to a server for getting information how the batch job must be processed.
    public object getLampState(object, object) Sends an asynchronous request to a server for getting a value indicating whether the lamp of device is on.
    public object getLightPath(object, object) Sends an asynchronous request to a server for getting information about the light path, which must be used for the image capturing.
    public object getLightSource(object, object) Sends an asynchronous request to a server for getting information about the general color characteristic of the light source for current scan session.
    public object getMaxBatchBuffers(object, object) Sends an asynchronous request to a server for getting information about the number of images that the device can buffer when AutoScan is enabled.
    public object getNoiseFilter(object, object) Sends an asynchronous request to a server for getting information about the noise filter for current scan session.
    public object getOnline(object, object) Sends an asynchronous request to a server for getting a value indicating whether the device is powered up and available.
    public object getPageAutoSize(object, object) Sends an asynchronous request to a server for getting information about the mode of size detection for current scan session.
    public object getPageOrientation(object, object) Sends an asynchronous request to a server for getting information about the orientation of images for current scan session.
    public object getPageSize(object, object) Sends an asynchronous request to a server for getting information about the page size for current scan session.
    public object getPixelFlavor(object, object) Sends an asynchronous request to a server for getting information about the value of pixel flavor for current scan session.
    public object getPixelType(object, object) Sends an asynchronous request to a server for getting information about the pixel type of images for current scan session.
    public object getSupportedCapabilities(object, object, object) Sends an asynchronous request to a server for getting information about all capabilities supported by TWAIN device.
    public object getThreshold(object, object) Sends an asynchronous request to a server for getting information about the threshold of black-white images for current scan session.
    public object getTransferMode(object, object) Sends an asynchronous request to a server for getting information about the transfer mode of device.
    public object getUnitOfMeasure(object, object) Sends an asynchronous request to a server for getting information about the unit of measure for current scan session.
    public object getXferCount(object, object) Sends an asynchronous request to a server for getting information about how many images application wants to receive from the device.
    public object getXResolution(object, object) Sends an asynchronous request to a server for getting information about the X-axis resolution of images for current scan session.
    public object getYResolution(object, object) Sends an asynchronous request to a server for getting information about the Y-axis resolution of images for current scan session.
    public object resetImageLayout(object, object) Sends an asynchronous request to a server for resetting the image layout rectangle of TWAIN device.
    public object setAutoBright(boolean, object, object) Sends an asynchronous request to a server for setting a value indicating whether the brightness should be automatically detected.
    public object setAutoScan(boolean, object, object) Sends an asynchronous request to a server for setting a value indicating whether the device should capture the number of images indicated by the value of XferCount without waiting for the Application to request the image transfers.
    public object setBitDepth(number, object, object) Sends an asynchronous request to a server for setting the bit depth of images for current scan session.
    public object setBitDepthReductionMode(object, object, object) Sends an asynchronous request to a server for setting the bit depth reduction mode of images for current scan session.
    public object setBrightness(number, object, object) Sends an asynchronous request to a server for setting the brightness of gray/palette/color images for current scan session.
    public object setCapability(object, string, object, object) Sends an asynchronous request to a server for setting the TWAIN device capability.
    public object setClearBuffers(object, object, object) Sends an asynchronous request to a server for setting how device buffers must be cleared.
    public object setContrast(number, object, object) Sends an asynchronous request to a server for setting the contrast of gray/palette/color images for current scan session.
    public object setFileFormat(object, object, object) Sends an asynchronous request to a server for setting the file format for images when File transfer mode is used.
    public object setFileJpegQuality(number, object, object) Sends an asynchronous request to a server for setting the JPEG quality for acquired images saved as JPEG files when File transfer mode is used.
    public object setHalftones(string, object, object) Sends an asynchronous request to a server for setting the halftones for bit depth reduction of images for current scan session.
    public object setImageCompression(object, object, object) Sends an asynchronous request to a server for setting the image compression for images when Memory or File transfer mode is used.
    public object setImageFilter(object, object, object) Sends an asynchronous request to a server for setting the image filter for current scan session.
    public object setImageLayout(object, object, object) Sends an asynchronous request to a server for setting the image layout rectangle of TWAIN device.
    public object setJobControl(object, object, object) Sends an asynchronous request to a server for setting information how the batch job must be processed.
    public object setLampState(boolean, object, object) Sends an asynchronous request to a server for setting a value indicating whether the lamp of device is on.
    public object setLightPath(object, object, object) Sends an asynchronous request to a server for setting information about the light path, which must be used for the image capturing.
    public object setLightSource(object, object, object) Sends an asynchronous request to a server for setting the general color characteristic of the light source for current scan session.
    public object setMaxBatchBuffers(number, object, object) Sends an asynchronous request to a server for setting the number of images that the device can buffer when AutoScan is enabled.
    public object setNoiseFilter(object, object, object) Sends an asynchronous request to a server for setting the noise filter for current scan session.
    public object setPageAutoSize(object, object, object) Sends an asynchronous request to a server for setting the mode of size detection for current scan session.
    public object setPageOrientation(object, object, object) Sends an asynchronous request to a server for setting the orientation of images for current scan session.
    public object setPageSize(object, object, object) Sends an asynchronous request to a server for setting the page size for current scan session.
    public object setPixelFlavor(object, object, object) Sends an asynchronous request to a server for setting the value of pixel flavor for current scan session.
    public object setPixelType(object, object, object) Sends an asynchronous request to a server for setting the pixel type of images for current scan session.
    public object setThreshold(number, object, object) Sends an asynchronous request to a server for setting the threshold of black-white images for current scan session.
    public object setTransferMode(object, object, object) Sends an asynchronous request to a server for setting the transfer mode of device.
    public object setUnitOfMeasure(object, object, object) Sends an asynchronous request to a server for setting the unit of measure for current scan session.
    public object setXferCount(number, object, object) Sends an asynchronous request to a server for setting how many images application wants to receive from the device.
    public object setXResolution(number, object, object) Sends an asynchronous request to a server for setting the X-axis resolution of images for current scan session.
    public object setYResolution(number, object, object) Sends an asynchronous request to a server for setting the Y-axis resolution of images for current scan session.


    Renamed methods
    public object getDeviceCapabilities(object, object, object, object) public object getCapabilities(object, object, object, object)
    public object getDeviceCapability(object, object, object, object) public object getCapability(object, object, object, object)
    public object getSupportedDeviceCapabilities(object, object, object) public object getSupportedCapabilities(object, object, object)
    public object setDeviceCapability(object, string, object, object) public object setCapability(object, string, object, object)



    See Also

    About VintaSoft Twain .NET SDK