VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / DocumentFeeder Class / PaperDetectable Property
Syntax Exceptions Remarks Example Requirements SeeAlso
In This Topic
    PaperDetectable Property (DocumentFeeder)
    In This Topic
    Gets a value indicating whether the document feeder can detect paper.
    Syntax
    'Declaration
    
    Public ReadOnly Property PaperDetectable As Boolean
    
    
    public bool PaperDetectable { get; }
    
    
    public: __property bool get_PaperDetectable();
    
    
    
    public:
    property bool PaperDetectable { bool get(); }

    Property Value

    true - device has a paper sensor, false - device does not have paper sensor.
    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).

    Example

    Please see example here: DocumentFeeder.

    Requirements

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

    See Also