ImageMan.Net Version 3 Summer 2012 Release
BitDepth Property
See Also  Send Feedback
DTI.ImageMan Namespace > ImImage Class : BitDepth Property

Glossary Item Box

Gets the Bit Depth of the Image Data


Visual Basic (Declaration) 
Public ReadOnly Property BitDepth As System.Short
Visual Basic (Usage)Copy Code
Dim instance As ImImage
Dim value As System.Short
value = instance.BitDepth
public System.short BitDepth {get;}
public function get BitDepth : System.short
Managed Extensions for C++ 
public: __property System.short get_BitDepth();
property System.short BitDepth {
   System.short get();


Returns the bit depth of the image data:

  • 1 is returned for black and white images,
  • 4 and 8 are returned for images with palettes and
  • 16, 24 or 32 can be returned for true color images.

This property will return an ObjectDisposedException if this object has been disposed.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.