VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / DocumentFeeder Class / PaperDetectable Property




In This Topic
    PaperDetectable Property (DocumentFeeder)
    In This Topic
    Gets a value that indicates whether the document feeder can detect paper.
    Syntax
    'Declaration
     
    Public ReadOnly Property PaperDetectable As Boolean
    'Usage
     
    Dim instance As DocumentFeeder
    Dim value As Boolean
     
    value = instance.PaperDetectable
    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.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also