VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / TwainBarcodeRecognizer Class / SearchMode Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    SearchMode Property (TwainBarcodeRecognizer)
    In This Topic
    Gets or sets a TWAIN barcode search mode that restricts bar code searching to certain orientations, or prioritizes one orientation over the other.
    Syntax
    'Declaration
    
    Public Property SearchMode As TwainBarcodeSearchMode
    
    
    public TwainBarcodeSearchMode SearchMode { get; set; }
    
    
    public: __property TwainBarcodeSearchMode get_SearchMode();
    public: __property void set_SearchMode(
    TwainBarcodeSearchMode value
    );
    public:
    property TwainBarcodeSearchMode SearchMode { TwainBarcodeSearchMode get(); void set(TwainBarcodeSearchMode value); }
    Exceptions
    ExceptionDescription
    Thrown if device is in wrong state.
    Thrown if device does not support capability.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Remarks

    Call this property only when device is opened (State == DeviceState.Opened).

    Supported search modes can be get by the GetSupportedSearchModes method.

    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also