WindowLevel method (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short WindowLevel ();

Overview

Refer to Examining and Altering Bitmaps.

Remarks

(Document/Medical Imaging only) Sets up the paint or paint and image processing functions' window leveling options for a specific bitmap.

There are four properties associated with this method: LevelLowBit property, LevelHighBit property, LevelLUT property and LevelLUTLength property. They are all reset to their default values within this method.

This method provides "on demand" window leveling for the paint functions and does not alter the image data.

See Also

Elements:

LevelLowBit property, LevelHighBit property, LevelLUTLength property ,LevelLUT property, GetMinMaxBits method, GetMinMaxVal method

Topics:

Raster Images: Palettes