LEADTOOLS WIA (Leadtools.Wia assembly)

ImageType Property

Show in webframe





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:
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

See Also

Reference

WiaProperties Structure
WiaProperties Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.