Visual Basic (Declaration) | |
---|---|
Public Property TransferMode As WiaTransferMode |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WiaDataTransferProperties Dim value As WiaTransferMode instance.TransferMode = value value = instance.TransferMode |
C# | |
---|---|
public WiaTransferMode TransferMode {get; set;} |
C++/CLI | |
---|---|
public: property WiaTransferMode TransferMode { WiaTransferMode get(); void set ( WiaTransferMode value); } |
Property Value
Transfer mode to be used by the WIA source. Possible values are:- WiaTransferMode.None Use this value only to determine whether the WiaDataTransferProperties structure is filled with a valid transfer mode.
- WiaTransferMode.Memory Memory buffered transfer mode. The source will be transferring strips of data to the application according to the buffer size supplied by the WiaAcquireOptions.
- WiaTransferMode.File File transfer mode. This will use the file path specified through the WiaAcquireOptions. And it will also use the format specified by the WiaDataTransferProperties structure.
Refer to WiaSession.GetRootItem example.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7