Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
ImageBitsPerPixel Property
See Also 
Leadtools.Twain Namespace > TwainSession Class : ImageBitsPerPixel Property




Gets or sets the bits per pixel value used to transfer images from the current TWAIN source.

Syntax

Visual Basic (Declaration) 
Public Property ImageBitsPerPixel As Integer
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim value As Integer
 
instance.ImageBitsPerPixel = value
 
value = instance.ImageBitsPerPixel
C# 
public int ImageBitsPerPixel {get; set;}
Managed Extensions for C++ 
public: __property int get_ImageBitsPerPixel();
public: __property void set_ImageBitsPerPixel( 
   int value
);
C++/CLI 
public:
property int ImageBitsPerPixel {
   int get();
   void set (int value);
}

Return Value

The bits per pixel value used to transfer images from the current TWAIN source.

Example

For an example, refer to ImageUnit.

Remarks

This property internally gets or sets the bits per pixel capability ICAP_BITDEPTH. For more information on this capability, refer to http://www.twain.org and click on TWAIN Specification (Version 1.9).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also