Accusoft.ISISXpressSdk Namespace : SetupOptions Enumeration |
'Declaration <FlagsAttribute()> Public Enum SetupOptions Inherits System.Enum
'Usage Dim instance As SetupOptions
[Flags()] public enum SetupOptions : System.Enum
[Flags()] __value public enum SetupOptions : public System.Enum
[Flags()] public enum class SetupOptions : public System.Enum
Member | Value | Description |
---|---|---|
Area | 2 | Displays a scanner settings dialog that shows the Area button. When the Area button is clicked, and Area dialog is displayed. |
AreaPreview | 8 | Displays a scanner dialog that displays the Area button. When the Area button is clicked, an Area dialog, containing a preview window is displayed. |
Binary | 1 | Displays a scanner settings dialog that only allows binary modes. This prevents the user from choosing grayscale or color modes. |
Normal | 0 | Displays the normal scanner settings dialog. |
Return | 4 | Displays a scanner settings dialog that returns SCANERR_CANCEL if the user clicks the Cancel button. If this flag is not set, then the settings dialog is always returned with no error. |
These values are used with the Scanner.Setup methods.
This enumeration is a FlagsAttribute enumeration that can be treated as a bit field or a set of flags. The following example shows how this enumeration can be used:
ISISX.Scanner.Setup(Accusoft.ISISXpressSdk.SetupOptions.Binary | Accusoft.ISISXpressSdk.SetupOptions.Return);
System.Object
System.ValueType
System.Enum
Accusoft.ISISXpressSdk.SetupOptions