VintaSoft Twain .NET SDK 15.4: Documentation for Web developer
In This Topic
Changes in version 15.3
In This Topic

API changes in Vintasoft.Twain.js

Removed classes:

public class Vintasoft.Twain.WebTwainDeviceDocumentFeederJS Class is not used any more.


Changed classes:

Vintasoft.Twain.WebTwainDeviceJS
Added properties
public boolean get_AutoFeed { get; } Gets a value that indicates whether the auto feed feature of TWAIN device is enabled.
public Vintasoft.Twain.WebTwainDuplexModeEnumJS get_DuplexMode { get; } Gets the duplex mode supported by TWAIN device.
public boolean get_HasDuplex { get; } Gets a value indicating whether the automatic document feeder of TWAIN/WIA/SANE/eSCL device can work in duplex mode.
public boolean get_IsDuplexEnabled { get; } Gets a value that indicates whether the TWAIN/WIA/SANE/eSCL device scans images in duplex mode.
public boolean get_IsFeederEnabled { get; } Gets a value that indicates whether the document feeder of TWAIN/WIA/SANE/eSCL device is enabled.
public boolean get_IsFeederLoaded { get; } Gets a value that indicates whether the document feeder of TWAIN device is loaded.
public boolean get_IsFlatbedEnabled { get; } Gets a value that indicates whether the flatbed of TWAIN/WIA/SANE/eSCL device is enabled.
public boolean get_PaperDetectable { get; } Gets a value that indicates whether the document feeder of TWAIN device can detect paper.
public string get_ScanIntent { get; } Gets the scan intent for WIA/eSCL device.
public boolean set_AutoFeed { set; } Sets a value that indicates whether the auto feed feature of TWAIN device is enabled.
public boolean set_IsDuplexEnabled { set; } Sets a value that indicates whether the TWAIN/WIA/SANE/eSCL device scans images in duplex mode.
public boolean set_IsFeederEnabled { set; } Sets a value that indicates whether the document feeder of TWAIN/WIA/SANE/eSCL device is enabled.
public boolean set_IsFlatbedEnabled { set; } Sets a value that indicates whether the flatbed of TWAIN/WIA/SANE/eSCL device is enabled.
public string set_ScanIntent { set; } Sets the scan intent for WIA/eSCL device.
Removed properties
public Vintasoft.Twain.WebTwainDeviceDocumentFeederJS get_DocumentFeeder { get; } Use the functions WebTwainDeviceJS.get_IsFlatbedEnabled, WebTwainDeviceJS.get_IsFeederEnabled, WebTwainDeviceJS.get_IsDuplexEnabled, WebTwainDeviceJS.get_AutoFeed, WebTwainDeviceJS.get_DuplexMode, WebTwainDeviceJS.get_PaperDetectable, WebTwainDeviceJS.set_IsFlatbedEnabled, WebTwainDeviceJS.set_IsFeederEnabled, WebTwainDeviceJS.set_IsDuplexEnabled, WebTwainDeviceJS.set_AutoFeed, WebTwainDeviceJS.clearPage, WebTwainDeviceJS.feedPage, WebTwainDeviceJS.rewindPage.
public Vintasoft.Twain.WebEsclScanColorModeEnumJS get_EsclScanColorMode { get; } Use the WebTwainDeviceJS.get_PixelType property.
public Vintasoft.Twain.WebEsclScanInputSourceEnumJS get_EsclScanInputSource { get; } Use the functions WebTwainDeviceJS.get_IsFlatbedEnabled, WebTwainDeviceJS.get_IsFeederEnabled, WebTwainDeviceJS.get_IsDuplexEnabled.
public string get_EsclScanIntent { get; } Use the WebTwainDeviceJS.get_ScanIntent function.
public number get_EsclScanResolution { get; } Use the WebTwainDeviceJS.get_XResolution or WebTwainDeviceJS.get_YResolution function.
public number get_SaneResolution { get; } Use the WebTwainDeviceJS.get_XResolution or WebTwainDeviceJS.get_YResolution function.
public string get_SaneScanMode { get; } Use the WebTwainDeviceJS.get_PixelType property OR get value of the device capability with name "mode".
public string get_SaneScanSource { get; } Use the functions WebTwainDeviceJS.get_IsFlatbedEnabled, WebTwainDeviceJS.get_IsFeederEnabled, WebTwainDeviceJS.get_IsDuplexEnabled OR get value of the device capability with name "source".
public Vintasoft.Twain.WebEsclScanColorModeEnumJS set_EsclScanColorMode { set; } Use the WebTwainDeviceJS.set_PixelType property.
public Vintasoft.Twain.WebEsclScanInputSourceEnumJS set_EsclScanInputSource { set; } Use the functions WebTwainDeviceJS.set_IsFlatbedEnabled, WebTwainDeviceJS.set_IsFeederEnabled, WebTwainDeviceJS.set_IsDuplexEnabled property.
public string set_EsclScanIntent { set; } Use the WebTwainDeviceJS.set_ScanIntent function.
public number set_EsclScanResolution { set; } Use the WebTwainDeviceJS.set_XResolution or WebTwainDeviceJS.set_YResolution function.
public number set_SaneResolution { set; } Use the WebTwainDeviceJS.set_XResolution or WebTwainDeviceJS.set_YResolution function.
public string set_SaneScanMode { set; } Use the WebTwainDeviceJS.set_PixelType property OR set value of the device capability with name "mode".
public string set_SaneScanSource { set; } Use the functions WebTwainDeviceJS.set_IsFlatbedEnabled, WebTwainDeviceJS.set_IsFeederEnabled, WebTwainDeviceJS.set_IsDuplexEnabled OR set value of the device capability with name "source".
Changed properties
public boolean get_IsWIA { get; } public boolean get_IsWia { get; }
Added methods
public void clearPage() Clears the page in the document feeder of TWAIN device.
public void feedPage() Feeds the page in the document feeder of TWAIN device.
public string[] getSupportedScanIntents() Returns names of supported scan intents for opened WIA/eSCL device.
public void rewindPage() Rewinds the page in the document feeder of TWAIN device.
Removed methods
public WebEsclScanColorModeEnumJS[] getSupportedEsclScanColorModes() Use the WebTwainDeviceJS.getSupportedPixelTypes function.
public WebEsclScanInputSourceEnumJS[] getSupportedEsclScanInputSources() Use the functions WebTwainDeviceJS.hasFlatbed, WebTwainDeviceJS.hasFeeder, WebTwainDeviceJS.hasDuplex.
public string[] getSupportedEsclScanIntents() Use the WebTwainDeviceJS.getSupportedScanIntents function.
public number[] getSupportedEsclScanResolutions() Use the WebTwainDeviceJS.getSupportedXResolutions function.
public number[] getSupportedSaneResolutions() Use the WebTwainDeviceJS.getSupportedXResolutions function.




Removed enumerations:

public enum Vintasoft.Twain.WebEsclScanInputSourceEnumJS This enumeration is not used any more.
public enum Vintasoft.Twain.WebEsclScanColorModeEnumJS This enumeration is not used any more.


Changed enumerations:

Vintasoft.Twain.WebTwainUnitOfMeasureEnumJS
Added fields
public void ThousandthsOfInch Thousandths of an inch. Can be used for WIA device only.