Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 2.0 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 TwainProperties.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