Platforms to show: All Mac Windows Linux Cross-Platform
WIADeviceManager2MBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Image Capture | MBS Win Plugin | 10.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
WIA 2.x is available on Windows Vista and newer.
- 2 properties
- 15 methods
- method Constructor
- method CreateDevice(DeviceID as string) as WIAItemMBS
- method EnumDeviceInfo(flags as Integer = &h10) as WIADeviceInfoEnumeratorMBS
- method GetImageDialog(Flags as integer, DeviceID as string, parentWindow as DesktopWindow, FolderName as String, Filename as String, byref item as WIAItemMBS) as string()
- method GetImageDialog(Flags as Integer, DeviceID as string, parentWindow as window, FolderName as String, Filename as String, byref item as WIAItemMBS) as string()
- method GetImageDialog(Flags as Integer, DeviceID as string, parentWindowHandle as Integer, FolderName as String, Filename as String, byref item as WIAItemMBS) as string()
- method SelectDeviceDialog(parentWindow as DesktopWindow, DeviceType as integer, Flags as integer) as WIAItemMBS
- method SelectDeviceDialog(parentWindow as DesktopWindow, DeviceType as integer, Flags as integer, byref DeviceID as string) as WIAItemMBS
- method SelectDeviceDialog(parentWindow as window, DeviceType as Integer, Flags as Integer) as WIAItemMBS
- method SelectDeviceDialog(parentWindow as window, DeviceType as Integer, Flags as Integer, byref DeviceID as string) as WIAItemMBS
- method SelectDeviceDialog(parentWindowHandle as Integer, DeviceType as Integer, Flags as Integer) as WIAItemMBS
- method SelectDeviceDialog(parentWindowHandle as Integer, DeviceType as Integer, Flags as Integer, byref DeviceID as string) as WIAItemMBS
- method SelectDeviceDialogID(parentWindow as DesktopWindow, DeviceType as integer, Flags as integer) as string
- method SelectDeviceDialogID(parentWindow as window, DeviceType as Integer, Flags as Integer) as string
- method SelectDeviceDialogID(parentWindowHandle as Integer, DeviceType as Integer, Flags as Integer) as string
- 18 constants
Constants
Constant | Value | Description |
---|---|---|
kDeviceDialogSingleImage | 2 |
One of the constants for the GetImageDialog method.
Restrict image selection to a single image in the device image acquisition dialog box. Only for WIA 2.x. |
kDeviceDialogUseCommonUI | 4 |
One of the constants for the GetImageDialog method.
Use the system UI, if available, rather than the vendor-supplied UI. If the system UI is not available, the vendor UI is used. If neither UI is available, the function returns E_NOTIMPL. |
kDeviceTypeDefault | 0 | One of the device type constants. |
kDeviceTypeDigitalCamera | 2 | One of the device type constants. |
kDeviceTypeScanner | 1 | One of the device type constants. |
kDeviceTypeStreamingVideo | 3 | One of the device type constants. |
kEnumAll | 15 |
One of the constants for EnumDeviceInfo flags parameter.
All devices are enumerated, both locally and remote, including inactive (disconnected) devices and legacy STI-only devices. |
kEnumLocal | 16 |
One of the constants for EnumDeviceInfo flags parameter.
Only locally connected active scanner devices are enumerated. |
kIntentBestPreview | &h40000 |
One of the intent constants for GetImageDialog.
Specifies the best quality preview. |
kIntentImageTypeColor | 1 |
One of the intent constants for GetImageDialog.
Preset properties for color content. |
kIntentImageTypeGrayscale | 2 |
One of the intent constants for GetImageDialog.
Preset properties for grayscale content. |
kIntentImageTypeMask | &hF |
One of the intent constants for GetImageDialog.
Mask for all of the image type flags. |
kIntentImageTypeText | 4 |
One of the intent constants for GetImageDialog.
Preset properties for text content. |
kIntentMaximizeQuality | &h20000 |
One of the intent constants for GetImageDialog.
Preset properties to maximize image quality. |
kIntentMinimizeSize | &h10000 |
One of the intent constants for GetImageDialog.
Preset properties to minimize image size. |
kIntentNone | 0 |
One of the intent constants for GetImageDialog.
Default value. Do not preset any properties. |
kIntentSizeMask | &hF0000 |
One of the intent constants for GetImageDialog.
Mask for all of the size/quality flags. |
kSelectDeviceNoDefault | 1 |
One of the constants for the GetImageDialog method.
Force this method to display the Select Device dialog box. |
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Real Studio Plugins, version 12.1pr1
- MBS Plugins 10.3 Release Notes
- Check the WIA Plugin part today
- MBS REALbasic Plugins, version 10.3pr4
The items on this page are in the following plugins: MBS Win Plugin.
WIADeviceManager1MBS - WIAExtendedTransferInfoMBS