Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also