VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Sane Namespace / SaneCapabilities Enumeration
Syntax Members Hierarchy Requirements SeeAlso
In This Topic
SaneCapabilities Enumeration
In This Topic
Specifies available SANE capabilities.
Syntax
'Declaration

<FlagsAttribute()>
Public Enum SaneCapabilities
   Inherits System.Enum

[Flags()]
public enum SaneCapabilities : System.Enum

Members
MemberDescription
NoneNo capabilities.
SoftSelectThe option value can be set programmatically.
HardSelectThe option value can be set by user-intervention (e.g., by flipping a switch). The user-interface should prompt the user to execute the appropriate action to set such an option. This capability is mutually exclusive with Vintasoft.Sane.SaneCapabilities.SoftSelect (either one of them can be set, but not both simultaneously).
SoftDetectThe option value can be detected by software. If Vintasoft.Sane.SaneCapabilities.SoftSelect is set, this capability must be set. If Vintasoft.Sane.SaneCapabilities.HardSelect is set, this capability may or may not be set. If this capability is set but neither Vintasoft.Sane.SaneCapabilities.SoftSelect nor Vintasoft.Sane.SaneCapabilities.HardSelect are, then there is no way to control the option. That is, the option provides read-out of the current value only.
EmulatedIf set, this capability indicates that an option is not directly supported by the device and is instead emulated in the backend. A sophisticated frontend may elect to use its own (presumably better) emulation in lieu of an emulated option.
AutomaticIf set, this capability indicates that the backend (or the device) is capable to picking a reasonable option value automatically. For such options, it is possible to select automatic operation by calling the SetToAutomatic method.
InactiveIf set, this capability indicates that the option is not currently active (e.g., because it's meaningful only if another option is set to some other value).
AdvancedIf set, this capability indicates that the option should be considered an "advanced user option." A frontend typically displays such options in a less conspicuous way than regular options (e.g., a command line interface may list such options last or a graphical interface may make them available in a seperate "advanced settings" dialog).
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Vintasoft.Sane.SaneCapabilities

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6

See Also