mirror of
https://github.com/soukoku/ntwain.git
synced 2025-06-28 15:28:06 +08:00
36 lines
929 B
C#
36 lines
929 B
C#
using NTwain.Data;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace NTwain
|
|
{
|
|
/// <summary>
|
|
/// General interface for a TWAIN session.
|
|
/// </summary>
|
|
public interface ITwainSession : INotifyPropertyChanged, ITwainOperation
|
|
{
|
|
/// <summary>
|
|
/// Gets the source id used for the session.
|
|
/// </summary>
|
|
/// <value>The source id.</value>
|
|
TWIdentity SourceId { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the current state number as defined by the TWAIN spec.
|
|
/// </summary>
|
|
/// <value>The state.</value>
|
|
int State { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the supported caps for the currently open source.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The supported caps.
|
|
/// </value>
|
|
IList<CapabilityId> SupportedCaps { get; }
|
|
}
|
|
}
|