Files
ntwain/NTwain/ITwainSession.cs

30 lines
713 B
C#
Raw Normal View History

using NTwain.Data;
using System;
using System.Collections.Generic;
2014-04-22 06:50:58 -04:00
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace NTwain
{
/// <summary>
/// General interface for a TWAIN session.
/// </summary>
2014-04-22 06:50:58 -04:00
public interface ITwainSession : INotifyPropertyChanged, ITwainOperation
{
2014-04-22 06:50:58 -04:00
/// <summary>
/// Gets the currently open source.
2014-04-22 06:50:58 -04:00
/// </summary>
/// <value>
/// The current source.
/// </value>
TwainSource Source { get; }
2014-04-22 06:50:58 -04:00
/// <summary>
/// Gets the current state number as defined by the TWAIN spec.
/// </summary>
/// <value>The state.</value>
int State { get; }
}
}