Platforms to show: All Mac Windows Linux Cross-Platform
Back to TwainMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Twain | MBS Picture Plugin | 12.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No |
Lasterror is set.
Some examples using this event:
TwainMBS.TransferEnded(pic as picture, ImageInfo as TwainImageInfoMBS, sliced as boolean, layout as TwainImageLayoutMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Twain | MBS Picture Plugin | 12.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No |
Pic: The final picture. Nil if sliced is true.
ImageInfo: Details about the image format.
Sliced: Whether the image was transferred in slices.
Some examples using this event:
TwainMBS.TransferProgress(percent as Double, dataRead as Int64, DataSize as Int64, ImageInfo as TwainImageInfoMBS, NewDataSize as Integer, NewData as Memoryblock, NewPicture as Picture, layout as TwainImageLayoutMBS, Columns as Integer, Rows as Integer, XOffset as Integer, YOffset as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Twain | MBS Picture Plugin | 12.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No |
Percent: The percent value (0 to 100) of the progress.
dataRead: Number of bytes read.
DataSize: Total size of image in bytes.
ImageInfo: Details about the image format.
NewDataSize: The number of bytes received.
NewData: The memoryblock for the new data. Use NewDataSize to copy right amount of data as this memoryblock has no size value set.
NewPicture: The picture for the new data.
Layout: The image layout.
Columns: Number of columns got in this slice.
Rows: Number of rows got in this slice.
XOffset: Column start for this slice.
YOffset: Row start for this slice.
NewData is only valid if you set ProvideSliceData to true.
NewPicture is only valid if you set ProvideSlicePicture to true.
Some examples using this event:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Twain | MBS Picture Plugin | 12.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No |
The user pressed button to start scan.
Please call TransferImage method when you are ready.
Some examples using this event:
TwainMBS.TransferStarted(DataSize as Int64, ImageInfo as TwainImageInfoMBS, layout as TwainImageLayoutMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Twain | MBS Picture Plugin | 12.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No |
DataSize total numnber of bytes expected.
ImageInfo: details on the image we receive.
You can return true to have the plugin not created one big picture.
A 42 inch scanner normally creates huge images, so you only can process them in slices.
Some examples using this event:
The items on this page are in the following plugins: MBS Picture Plugin.