LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ImageDataType Property
See Also 
Leadtools.Wia Namespace > WiaDataTransferProperties Structure : ImageDataType Property



Gets or sets the preferred data type to be used for the image when performing data transfer from a WIA source.

Syntax

Visual Basic (Declaration) 
Public Property ImageDataType As WiaImageDataType
Visual Basic (Usage)Copy Code
Dim instance As WiaDataTransferProperties
Dim value As WiaImageDataType
 
instance.ImageDataType = value
 
value = instance.ImageDataType
C# 
public WiaImageDataType ImageDataType {get; set;}
C++/CLI 
public:
property WiaImageDataType ImageDataType {
   WiaImageDataType get();
   void set (    WiaImageDataType value);
}

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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also