ImageDataType Property

Summary
Gets or sets the preferred data type to be used for the image when performing data transfer from a WIA source.
Syntax
C#
VB
C++
public WiaImageDataType ImageDataType { get; set; } 
  
Public Property ImageDataType As WiaImageDataType 
public: 
property WiaImageDataType ImageDataType { 
   WiaImageDataType get(); 
   void set (    WiaImageDataType ); 
} 

Property Value

The preferred data type to be used for the image when performing data transfer from a WIA source. Possible values are (according to Microsoft SDK documentation):

WiaImageDataType.Threshold

WiaImageDataType.Dither

WiaImageDataType.Grayscale

WiaImageDataType.Color

WiaImageDataType.ColorThreshold

WiaImageDataType.ColorDither

WiaImageDataType.RawBgr

WiaImageDataType.RawCmy

WiaImageDataType.RawCmyk

WiaImageDataType.RawRgb

WiaImageDataType.RawYuv

WiaImageDataType.RawYuvk

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

Example

Refer to WiaSession.GetRootItem example.

Requirements

Target Platforms

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

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.