ShowWindowLevelDlg method (ILEADRasterDlgClr)

Visual Basic example

Visual C++ example

 

Syntax

short ShowWindowLevelDlg (long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

(Medical only) Displays the Window Level dialog box, and gets the options for the WindowLevel method.

The properties associated with this dialog box are:

WindowLevelFactor property

WindowLevelFlags property

WindowLevelHigh property

WindowLevelLow property

To include a Help button in the dialog, set the ShowHelpButton property to VARIANT_TRUE.

This dialog only works with 12 or 16-bit grayscale images. Trying to use this dialog with other images will result in an error.

The Window Level dialog can be seen below:

See Also

Elements

WindowLevel method, WindowLevelFactor property, WindowLevelFlags property, WindowLevelHigh property, WindowLevelLow property, ShowHelpButton property, EnableZoomToFit Property, UIFlags Property, EnableMethodErrors property