Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
HighBit Property
See Also 
Leadtools Namespace > RasterImage Class : HighBit Property




Gets or sets the image window level high bit value.

Syntax

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

Return Value

Value indicating the high bit used for window leveling.

Example

For an example, refer to WindowLevel

Remarks

The LowBit value will be: 0 <= LowBit <= HighBit <= (11 for 12-bit grayscale or 15 for 16-bit grayscale). A value of -1 will be treated as 0.

For more information, refer to Grayscale Images.

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