using NTwain.Data; using System; using System.Collections.Generic; namespace NTwain { /// /// Interface for controlling caps. /// public interface ICapController { /// /// A general method that tries to get capability values from current . /// /// The capability unique identifier. /// IList CapGet(CapabilityId capabilityId); /// /// Gets the current value for a capability. /// /// The cap id. /// object CapGetCurrent(CapabilityId capId); /// /// Gets the default value for a capability. /// /// The cap id. /// object CapGetDefault(CapabilityId capId); /// /// Gets the actual supported operations for a capability. /// /// The cap identifier. /// QuerySupports CapQuerySupport(CapabilityId capId); /// /// Resets the current value to power-on default. /// /// The capability identifier. /// ReturnCode CapReset(CapabilityId capabilityId); /// /// Resets all values and constraint to power-on defaults. /// /// The capability identifier. /// ReturnCode CapResetAll(CapabilityId capabilityId); //CapabilityControl CapAudioXferMech { get; } //CapabilityControl CapDuplexEnabled { get; } //CapabilityControl CapFeederEnabled { get; } //CapabilityControl CapImageAutoDeskew { get; } //CapabilityControl CapImageAutomaticBorderDetection { get; } //CapabilityControl CapImageAutoRotate { get; } //CapabilityControl CapImageCompression { get; } //CapabilityControl CapImageFileFormat { get; } //CapabilityControl CapImagePixelType { get; } //CapabilityControl CapImageSupportedSize { get; } //CapabilityControl CapImageXferMech { get; } //CapabilityControl CapImageXResolution { get; } //CapabilityControl CapImageYResolution { get; } //CapabilityControl CapXferCount { get; } } }