mirror of
https://github.com/soukoku/ntwain.git
synced 2026-01-02 12:27:11 +08:00
Put in file xfer code.
This commit is contained in:
@@ -37,8 +37,6 @@ namespace NTwain
|
||||
/// <value>The pending count.</value>
|
||||
public int PendingTransferCount { get; internal set; }
|
||||
|
||||
#region image use
|
||||
|
||||
/// <summary>
|
||||
/// Gets the tentative image information for the current transfer if applicable.
|
||||
/// This may differ from the final image depending on the transfer mode used.
|
||||
@@ -48,94 +46,6 @@ namespace NTwain
|
||||
/// </value>
|
||||
public TWImageInfo PendingImageInfo { get; internal set; }
|
||||
|
||||
///// <summary>
|
||||
///// Gets or sets a value indicating whether file transfer is supported.
|
||||
///// </summary>
|
||||
///// <value>
|
||||
///// <c>true</c> if this instance can do file transfer; otherwise, <c>false</c>.
|
||||
///// </value>
|
||||
//public bool CanDoFileXfer { get; private set; }
|
||||
|
||||
///// <summary>
|
||||
///// Gets or sets the desired output file path if file transfer is supported.
|
||||
///// Note that not all sources will support the specified image type and compression
|
||||
///// when file transfer is used.
|
||||
///// </summary>
|
||||
///// <value>
|
||||
///// The output file.
|
||||
///// </value>
|
||||
//public string OutputFile { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// Gets the supported compression for image xfer.
|
||||
///// </summary>
|
||||
///// <value>
|
||||
///// The supported compressions.
|
||||
///// </value>
|
||||
//public IList<Compression> SupportedImageCompressions { get; internal set; }
|
||||
|
||||
//private Compression _imageCompression;
|
||||
|
||||
///// <summary>
|
||||
///// Gets or sets the image compression for image xfer.
|
||||
///// </summary>
|
||||
///// <value>
|
||||
///// The image compression.
|
||||
///// </value>
|
||||
///// <exception cref="System.NotSupportedException"></exception>
|
||||
//public Compression ImageCompression
|
||||
//{
|
||||
// get { return _imageCompression; }
|
||||
// set
|
||||
// {
|
||||
// if (SupportedImageCompressions.Contains(value))
|
||||
// {
|
||||
// _imageCompression = value;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// throw new NotSupportedException(string.Format("{0} is not supported.", value));
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// Gets the supported file formats for image file xfer.
|
||||
///// </summary>
|
||||
///// <value>
|
||||
///// The supported formats.
|
||||
///// </value>
|
||||
//public IList<FileFormat> SupportedImageFormats { get; internal set; }
|
||||
|
||||
//private FileFormat _imageFormat;
|
||||
///// <summary>
|
||||
///// Gets or sets the image format for image xfer.
|
||||
///// </summary>
|
||||
///// <value>
|
||||
///// The image format.
|
||||
///// </value>
|
||||
///// <exception cref="System.NotSupportedException"></exception>
|
||||
//public FileFormat ImageFormat
|
||||
//{
|
||||
// get { return _imageFormat; }
|
||||
// set
|
||||
// {
|
||||
// if (SupportedImageFormats.Contains(value))
|
||||
// {
|
||||
// _imageFormat = value;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// throw new NotSupportedException(string.Format("{0} is not supported.", value));
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
#endregion
|
||||
|
||||
#region audio use
|
||||
|
||||
/// <summary>
|
||||
/// Gets the audio information for the current transfer if applicable.
|
||||
/// </summary>
|
||||
@@ -144,7 +54,5 @@ namespace NTwain
|
||||
/// </value>
|
||||
public TWAudioInfo AudioInfo { get; internal set; }
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user