Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FileFormat Property
See Also 
Leadtools.Twain Namespace > TwainTransferOptions Structure : FileFormat Property



Gets or sets the transfer file format to use when transferring data from the current TWAIN source. This property is valid only if the TransferMode property is set to TwainTransferFile.

Syntax

Visual Basic (Declaration) 
Public Property FileFormat As RasterImageFormat
Visual Basic (Usage)Copy Code
Dim instance As TwainTransferOptions
Dim value As RasterImageFormat
 
instance.FileFormat = value
 
value = instance.FileFormat
C# 
public RasterImageFormat FileFormat {get; set;}
C++/CLI 
public:
property RasterImageFormat FileFormat {
   RasterImageFormat get();
   void set (RasterImageFormat value);
}

Return Value

The transfer file format to be used when the transfer mode is file.

Example

For an example, refer to TwainSession.TransferOptions.

Remarks

To update this property with the current value, call the TwainSession.TransferOptions property.
To set the file format, assign a new value to this property and call the TwainSession.TransferOptions property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also