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 resoultion 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 acquitre 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 or more images from a TWAIN source |
TwainSession.AcquirePageOptions | Gets or sets the paper size and paper orinetation 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 | |
TwainAcquireMultiPageEventHandler | |
TwainAcquirePageEventHandler | |
TwainSetPropertyEventHandler | |
TwainFastConfigurationEventHandler |
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 |
---|---|
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 |