LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

ImageType Property






Gets or sets the application's intended use of the image.
Syntax
public WiaImageType ImageType {get; set;}
'Declaration
 
Public Property ImageType As WiaImageType
'Usage
 
Dim instance As WiaProperties
Dim value As WiaImageType
 
instance.ImageType = value
 
value = instance.ImageType
public WiaImageType ImageType {get; set;}
 get_ImageType();
set_ImageType(value);
public:
property WiaImageType ImageType {
   WiaImageType get();
   void set (    WiaImageType value);
}

Property Value

The application's intended use of the image. The device uses this value to change its settings. The settings change depending upon how the image will be used. Possible values are (according to Microsoft SDK documentation):

WiaImageType.None

Default value. No intent is specified.

WiaImageType.Color

The application intends to prepare the device for a color scan.

WiaImageType.Grayscale

The application intends to prepare the device for a grayscale scan.

WiaImageType.Text

The application intends to prepare the device for scanning text.

WiaImageType.Mask

Mask for all of the image-type flags.

WiaImageType.MinimizeSize

The application intends to prepare the device for scanning an image that result's in a small scan.

WiaImageType.MaximizeQuality

The application intends to prepare the device for scanning a high-quality image.

WiaImageType.SizeMask

This flag is a mask for all of the size/quality flags.

WiaImageType.BestPreview

The application intends to prepare the device for scanning a preview.

For more information about these image types, please refer to the WIA_IPS_CUR_INTENT property ID in Microsoft Windows SDK Documentation.

Example
Refer to WiaSession.GetRootItem 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

WiaProperties Structure
WiaProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

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