MemoryDataTransferEventArgs Class |
Namespace: Atalasoft.Twain
The MemoryDataTransferEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| BitsPerPixel | Gets the number of bits per pixel. | |
| BytesPerRow | Gets the number of bytes per scan line in the data. | |
| BytesWritten | Get the number of bytes written to the Data pointer. | |
| Cancel | Gets or sets a value that indicates whether the scan should be canceled. | |
| Columns | Gets the number of columns that are contained in the Data.
| |
| Compression | Gets the compression used for the Data. | |
| Data | Gets a pointer to the scan data. | |
| DataHandled | Gets or sets a value indicating whether or not the developer is handling the data. | |
| Offset | Gets the row and column offset of this data. | |
| OutputStream | Gets or sets a Stream to use for saving the image data. If this property is set to a Stream with write access, DotTwain will write the image data into the stream instead of holding it in memory. No Bitmap object will be created when an OutputStream is provided. See the remarks below for more information. | |
| PixelType | Gets the pixel type. | |
| Planar | Is using planar data store. | |
| Resolution | Gets the resolution. | |
| Rows | Gets the rows contained in this data. | |
| SamplesPerPixel | Gets the number of samples per pixel. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetBitsPerSample | Gets the bits in the sample. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
If the data is handled outside of DotTwain, be sure to set the DataHandled property to true.
To cancel the acquisition, set the Cancel parameter to true.