Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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;}
C++/CLI 
public:
property int ImageBitsPerPixel {
   int get();
   void set (    int value);
}

Property Value

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

Example

For an example, refer to Leadtools.Twain.TwainSession.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 2.0).

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