←Select platform

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 Leadtools.Wia.WiaImageType 
public: 
property Leadtools.Wia.WiaImageType ImageType { 
   Leadtools.Wia.WiaImageType get(); 
   void set (    Leadtools.Wia.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly