Leadtools.Twain Assembly Changes from Version 16 to Version 16.5
New Members
The following members have been added to existing classes in v16.5:
Member | Description |
---|---|
Leadtools.Twain.TwainSession.Startup2 | Initializes the TWAIN session. |
Leadtools.Twain.TwainSession.SaveCustomDSData | Saves the custom data source data to a file. |
Leadtools.Twain.TwainSession.UpdateCustomDSData | Update the custom data source. |
New Enumerations
The following enumerations have been added to LEADTOOLS For .NET v16.5:
Enumeration | Description |
---|---|
Leadtools.Twain.TwainLanguage | The TwainLanguage enumerated type represents the possible values to be used in Startup2. |
Leadtools.Twain.TwainCapabilityType | Indicates the capability that is being retrieved or set. |
Leadtools.Twain.TwainCountry | The TwainCountry enumerated type represents the possible values to be used in Startup2. |
Leadtools.Twain.TwainConditionCode | The condition code constants for retrieving the extended image information. |
Leadtools.Twain.TwainExtendedImage | The extended image information ID constants. |
Leadtools.Twain.TwainCapabilityValue | |
Leadtools.Twain.TwainExceptionCode | Used as a value for TwainException.Code property. |
Leadtools.Twain Assembly Changes from Version 15 to Version 16
Version 16 has not changed from Version 15
Leadtools.Twain Assembly Changes from Version 14.5 to Version 15
New Types
The following types have been added to LEADTOOLS For .NET v15:
Type | Description |
---|---|
TwainColorScheme | Represents color scheme for Twain. |
TwainFileFormat | Represents Twain file format. |
TwainImageResolutionProperties | Provides image resolution information for the current selected data source. |
TwainTransferMode | Represents the possible Twain transfer modes. |
TwainImageEffectsFlags | Represents specific Twain image effects. |
TwainPaperOrientation | Represents TWAIN paper orientation. |
TwainAcquirePageOptions | Provides acquire page options for the current selected data source. |
TwainFileSystemMessage | represents the possible messages will be used in Twain File System. |
TwainDuplexScanningMode | Represents TWAIN duplex scanning mode. |
TwainImageEffectsProperties | Provides image effects information for the current selected data source. |
TwainImageUnit | Represents Twain image unit. |
TwainDataTransferFillOrder | Represents the TWAIN data transfer fill order. |
TwainDataTransferProperties | Provides data transfer information for the current selected data source. |
TwainTransferOptions | Provides transfer options for the current selected data source. |
TwainMemoryDataFlags | Represents the possible values to be used in TwainMemoryData.Flags property. |
TwainProperties | Provides TWAIN properties for the current selected data source. |
TwainPaperSize | Represents TWAIN paper size. |
TwainImagePixelFlavor | Represents TWAIN image pixel flavor. |
TwainCompressionMode | Represents TWAIN compress mode. |
New Members
The following members have been added to existing classes in v15:
Type | Description |
---|---|
TwainSession.AcquireToImage | Acquires one image from a TWAIN source. |
TwainSession.AcquirePageOptions | Gets or sets the paper size and paper orientation values to use when transferring images from the current TWAIN source. |
TwainRgbResponseFlags.None | No options. |
TwainFrame.Empty | Initializes a new TwainFrame object with default values. |
TwainCapabilityValue.BarcodeTypeMaxiCode | TWBT_MAXICODE |
TwainCapabilityValue.CountryHongKong | TWCY_HONDURAS |
TwainCapabilityValue.CountryDominicanRep | TWCY_DOMINCANREP |
TwainCapabilityValue.BarcodeRotationX | TWBCOR_ROTX |
Event Handlers Delegates
LEADTOOLS For .NET Class Library uses the new .NET 2.0 generic event handler delegate module.
The following table lists the delegate types that have been removed in v.15:
Version 14.5 | Version 15 |
---|---|
TwainTemplateEventHandler | EventHandler<TwainTemplateEventArgs> |
TwainAcquireMultiPageEventHandler | EventHandler<TwainAcquireMultiPageEventArgs> |
TwainAcquirePageEventHandler | EventHandler<TwainAcquirePageEventArgs> |
TwainSetPropertyEventHandler | EventHandler<TwainSetPropertyEventArgs> |
TwainFastConfigurationEventHandler | EventHandler<TwainFastConfigurationEventArgs> |
Removed Types
The following types have been removed in v.15:
Type | Description |
---|---|
JpegCompressionSet | Use TwainJpegCompression instead. |
JpegCompressionRetrieve | Use TwainJpegCompression instead. |
Renamed Types
The following types have been renamed in v.15:
Version 14.5 | Version 15 |
---|---|
TwainSession.SetAcquireSourceName | SelectSource |
TwainDataTransfer | TwainDataTransferProperties |
FileSystemMs | TwainFileSystemMessage |
TwainTransferMode | TwainTransferMode |
ImageEffectsFlag | TwainImageEffectsFlags |
TwainMemoryFlag | TwainMemoryDataFlags |
TwainImageEffect | TwainImageEffectsProperties |
TwainImageResolutio | TwainImageResolutionProperties |
Removed Members
The following members have been removed in v.15:
Changed Types
The following types have been changed in v.15:
Version 14.5 | Version 15 |
---|---|
TwainFileSystem | Changed from a structure to a class. |
TwainFrame | Changed from a class to a structure. |
Renamed Members
The following members have been renamed in v.15:
Changed Members
The following members have been changed in v.15:
Methods Changed into Properties
The following methods have changed into properties in v.15:
Version 14.5 | Version 15 |
---|---|
TwainSession.GetProperties | TwainSession.Properties |
TwainSession.SetProperties | TwainSession.Properties |