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




Gets or sets the file format to use when saving the files from the TWAIN source.

Syntax

Visual Basic (Declaration) 
Public Property ScanFileFormat As TwainFileFormat
Visual Basic (Usage)Copy Code
Dim instance As TwainDataTransferProperties
Dim value As TwainFileFormat
 
instance.ScanFileFormat = value
 
value = instance.ScanFileFormat
C# 
public TwainFileFormat ScanFileFormat {get; set;}
Managed Extensions for C++ 
public: __property TwainFileFormat get_ScanFileFormat();
public: __property void set_ScanFileFormat( 
   TwainFileFormat value
);
C++/CLI 
public:
property TwainFileFormat ScanFileFormat {
   TwainFileFormat get();
   void set (TwainFileFormat value);
}

Return Value

The file format to use when saving the files from the TWAIN source. Possible values are (according to the TWAIN 1.9 specification): TwainCapabilityValue.FileFormatTiff Tagged image file. TwainCapabilityValue.FileFormatPict Macintosh PICT. TwainCapabilityValue.FileFormatBmp Windows regular bitmap. TwainCapabilityValue.FileFormatXbm X-Windows bitmap. TwainCapabilityValue.FileFormatJfif JPEG file interchange format. TwainCapabilityValue.FileFormatFpx Flash pix file. TwainCapabilityValue.FileFormatTiffMulti Multi-page tiff file format. TwainCapabilityValue.FileFormatPng PNG file. TwainCapabilityValue.FileFormatSpiff SPIFF file. TwainCapabilityValue.FileFormatExif EXIF file.

Example

Refer to DataTransfer example.

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