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

Glossary Item Box

Gets or Sets the Bit depth of the output image.


Visual Basic (Declaration) 
Public Property BitDepth As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As ModifyBitDepthCommand
Dim value As System.Integer
instance.BitDepth = value
value = instance.BitDepth
public BitDepth {get; set;}
public function get,set BitDepth :
Managed Extensions for C++ 
public: __property get_BitDepth();
public: __property void set_BitDepth( value
property BitDepth { get();
   void set ( value);


The desired bit depth can be specified with the bit depth property or by using the pixel format property or by specifying the number of colors. Will clamp NumberOfColors to new Bit Depth if outside of Color Depth Range if it is inside allowable range will not modify it. Unless the PaletteOption is set to Custom.


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.