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



Gets or sets the image paint low bit value.

Syntax

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

Return Value

Value indicating the low bit used for painting.

Example

For an example, refer to WindowLevel

Remarks

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

This property along with PaintLowBit are used internally by LEADTOOLS when WindowLevel is called.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also