Platforms to show: All Mac Windows Linux Cross-Platform
Back to TwainMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Value is -1 if you didn't set it before.
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable auto feed. If the scanner does not support auto feeding, the scanner will ignore this setting.
(Read and Write property)
TwainMBS.AutomaticBorderDetection as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Value is -1 if you didn't set it before.
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable auto border detection. If the scanner does not support this feature, the scanner will ignore this setting.
0 = off, 1 = on, -1 = default/undefined.
(Read and Write property)
TwainMBS.AutomaticBrightness as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The plugin will apply this setting on the next scan.
Value is 0 to disable, 1 to enable or -1 if undefined/default.
(Read and Write property)
TwainMBS.AutomaticRotate as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Value is -1 if you didn't set it before.
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable automatic rotation. If the scanner does not support this feature, the scanner will ignore this setting.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The plugin will apply this setting on the next scan.
Source should normalize the values into the range. Make sure that a '0' value is available as the Current Value when the Source starts up. If the Source's ± range is asymmetric about the '0' value, set range maxima to ±1000 and scale homogeneously from the '0' value in each direction. This will yield a positive range whose step size differs from the negative range's step size.
Plugin uses value -10000 for undefined/default.
(Read and Write property)
TwainMBS.ConditionCode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 14.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
If error code in Lasterror is 1, this Condition value is set.
(-1 if unknown)
Possible codes:
TWCC_SUCCESS | 0 | Success |
TWCC_BUMMER | 1 | Failure due to unknown causes |
TWCC_LOWMEMORY | 2 | Not enough memory to perform operation |
TWCC_NODS | 3 | No Data Source |
TWCC_MAXCONNECTIONS | 4 | DS is connected to max possible applications |
TWCC_OPERATIONERROR | 5 | DS or DSM reported error, application shouldn't |
TWCC_BADCAP | 6 | Unknown capability |
TWCC_BADPROTOCOL | 9 | Unrecognized MSG DG DAT combination |
TWCC_BADVALUE | 10 | Data parameter out of range |
TWCC_SEQERROR | 11 | DG DAT MSG out of expected sequence |
TWCC_BADDEST | 12 | Unknown destination Application/Source in DSM_Entry |
TWCC_CAPUNSUPPORTED | 13 | Capability not supported by source |
TWCC_CAPBADOPERATION | 14 | Operation not supported by capability |
TWCC_CAPSEQERROR | 15 | Capability has dependancy on other capability |
TWCC_DENIED | 16 | File System operation is denied (file is protected) |
TWCC_FILEEXISTS | 17 | Operation failed because file already exists. |
TWCC_FILENOTFOUND | 18 | File not found |
TWCC_NOTEMPTY | 19 | Operation failed because directory is not empty |
TWCC_PAPERJAM | 20 | The feeder is jammed |
TWCC_PAPERDOUBLEFEED | 21 | The feeder detected multiple pages |
TWCC_FILEWRITEERROR | 22 | Error writing the file (meant for things like disk full conditions) |
TWCC_CHECKDEVICEONLINE | 23 | The device went offline prior to or during this operation |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The plugin will apply this setting on the next scan.
Scale the values available internally into a homogeneous range between -1000 and 1000. Make sure that a '0' value is available as the Current value when the Source starts up. If the Source's ± range is asymmetric about the '0' value, set range maxima to ±1000 and scale homogeneously from the '0' value in each direction. This will yield a positive range whose step size differs from the negative range's step size.
(Read and Write property)
TwainMBS.DiscardBlankPages as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Value is -1 if you didn't set it before.
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable blank pages discarding. If the scanner does not support this feature, the scanner will ignore this setting.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable duplex. If the scanner does not support duplex, the scanner will ignore this setting.
Value is -1 if not set, 0 to disable and 1 to enable.
(Read and Write property)
TwainMBS.FeederEnabled as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable feeder. If the scanner does not support the feeder, the scanner will ignore this setting.
Value is -1 if not set, 0 to disable and 1 to enable.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The plugin will apply this setting on the next scan.
Default value 2.2. The setting is -10000 if not set.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The plugin will apply this setting on the next scan.
All values lighter than this value will be clipped to this value. Whether lighter values are smaller or larger can be determined by examining the Current value of PixelFlavor.
If more or less than 8 bits are used to describe the image, the actual data values should be normalized to fit within the 0-255 range. The normalization need not result in a homogeneous distribution if the original distribution was not homogeneous.
Value can be between 0 and 255.
Value can be between 0 and 255.
Plugin uses value -10000 for undefined/default.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 12.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read and Write property)
TwainMBS.Orientation as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable feeder. If the scanner does not support the feeder, the scanner will ignore this setting.
Value can be:
0 | 0 degree |
1 | 90 degree |
2 | 180 degree |
3 | 270 degree |
0 | Portrait |
3 | Landscape |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 12.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Can reference a Window or DesktopWindow object.
(Read and Write property)
TwainMBS.PendingTransferCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
So when you transfer you can make a loop and run until PendingTransferCount is zero.
PendingTransferCount may be -1 or 65535 for unknown number of pages.
(Read and Write property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Value can be 0 for BW, 1 for Gray, 2 for RGB, 3 for Palette.
The plugin can request als CMY (4), CMYK (5), YUV (6), YUVK (7) and CIEXYZ (8), but can't currently decode those.
Value is -1 if you didn't set it before.
This value is stored and next time you call Acquire the plugin will ask the scanner to use the given pixel type. If the scanner does not support this feature, the scanner will ignore this setting.
(Read and Write property)
TwainMBS.ProvideSliceData as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 12.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read and Write property)
Some examples using this property:
TwainMBS.ProvideSlicePicture as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 12.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read and Write property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
This value is stored and next time you call Acquire the plugin will ask the scanner to use this resolution. If the scanner does not support the resolution, the scanner will use the last valid setting.
Use -1 to use the default setting.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
This value is stored and next time you call Acquire the plugin will ask the scanner to use this resolution. If the scanner does not support the resolution, the scanner will use the last valid setting.
Use -1 to use the default setting.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Twain | MBS Picture Plugin | 13.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The plugin will apply this setting on the next scan.
All values darker than this value will be clipped to this value.
Whether darker values are smaller or larger can be determined by examining the Current value of PixelFlavor.
Source
If more or less than 8 bits are used to describe the image, the actual data values should be normalized to fit within the 0-255 range. The normalization need not result in a homogeneous distribution if the original distribution was not homogeneous.
(Read and Write property)
The items on this page are in the following plugins: MBS Picture Plugin.