Leadtools.Wia Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also