ImageType Property

Summary

Gets or sets the application's intended use of the image.

Syntax
C#
VB
C++
public WiaImageType ImageType { get; set; } 
  
Public Property ImageType As WiaImageType 
public: 
property WiaImageType ImageType { 
   WiaImageType get(); 
   void set (    WiaImageType ); 
} 

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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly