VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / Device Class / PageAutoSize Property




In This Topic
    PageAutoSize Property (Device)
    In This Topic
    Gets or sets the mode of size detection for current scan session.
    Syntax
    'Declaration
     
    Public Property PageAutoSize As PageAutoSize
    'Usage
     
    Dim instance As Device
    Dim value As PageAutoSize
     
    instance.PageAutoSize = value
     
    value = instance.PageAutoSize
    public PageAutoSize PageAutoSize {get; set;}
    public: __property PageAutoSize get_PageAutoSize();
    public: __property void set_PageAutoSize( 
       PageAutoSize value
    );
    public:
    property PageAutoSize PageAutoSize {
       PageAutoSize get();
       void set (    PageAutoSize 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).

    This capability is supported from TWAIN 2.0.
    Requirements

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

    See Also