Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

ScanFileFormat Property






Gets or sets the file format to use when saving the files from the TWAIN source.
Syntax
public TwainFileFormat ScanFileFormat {get; set;}
'Declaration
 
Public Property ScanFileFormat As TwainFileFormat
'Usage
 
Dim instance As TwainDataTransferProperties
Dim value As TwainFileFormat
 
instance.ScanFileFormat = value
 
value = instance.ScanFileFormat
public TwainFileFormat ScanFileFormat {get; set;}
 get_ScanFileFormat();
set_ScanFileFormat(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainDataTransferProperties Structure
TwainDataTransferProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.