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.

Syntax

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
C# 
public System.int BitDepth {get; set;}
JScript 
public function get,set BitDepth : System.int
Managed Extensions for C++ 
public: __property System.int get_BitDepth();
public: __property void set_BitDepth( 
   System.int value
);
C++/CLI 
public:
property System.int BitDepth {
   System.int get();
   void set (    System.int value);
}

Remarks

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.

Requirements

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.