Put in file xfer code.

This commit is contained in:
soukoku
2014-04-06 07:23:49 -04:00
parent 69feecde8d
commit d70cf7c6a4
2 changed files with 38 additions and 138 deletions

View File

@@ -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
}
}