Click or drag to resize

FileTransferEventArgs Class

Contains information about the file transfer used in the FileTransfer event.

Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Atalasoft.TwainFileTransferEventArgs

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class FileTransferEventArgs : EventArgs

The FileTransferEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodFileTransferEventArgs
Creates a new instance of FileTransferEventArgs.
Public methodFileTransferEventArgs(String)
Creates a new instance of FileTransferEventArgs specifying fileName.
Public methodFileTransferEventArgs(String, SourceImageFormat)
Creates a new instance of FileTransferEventArgs specifying fileName and fileFormat.
Top
Properties
  NameDescription
Public propertyCancelPending
Gets or sets a value indicating if the acquisition operation should be canceled.
Public propertyFileFormat

Gets or sets the file format to save this image in.

You should make sure the device supports this format by calling GetSupportedImageFormats.

Public propertyFileName
Gets or sets the filename for the image.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also