ShowContourFilterDlg method (ILEADRasterDlgImgEfx)

Visual Basic example

Visual C++ example

 

Syntax

short ShowContourFilterDlg (long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

(Medical only) Displays the Contour Filter dialog box, and gets the options for the ContourFilter method.

The layout and action of the dialog depends on the flags set in the UIFlags property. Possible options are:

Value

Meaning

CONTOURFILTER_AUTOPROCESS

[0X00000001] process the image on OK. The Common Dialog Bitmap property must be assigned a valid before calling this method.

CONTOURFILTER_SHOW_CONTEXTHELP

[0X00000002] dialog should contain a context sensitive help icon.

CONTOURFILTER_SHOW_PREVIEW

[0X00000004] show a preview of the image in the dialog. The Common Dialog Bitmap property must be assigned a valid before calling this method.

CONTOURFILTER_SHOW_TOOL_ZOOMLEVEL

[0X00000008] show the "Zoom to fit" and "Zoom Normal" toolbar buttons. The CONTOURFILTER_SHOW_PREVIEW flag must be set in order to show these buttons.

CONTOURFILTER_SHOW_OPTION

[0X00000010] show the Contour Option.

CONTOURFILTER_SHOW_THRESHOLD

[0X00000020] show the Threshold option.

CONTOURFILTER_SHOW_DELTADIRECTION

[0X00000040] show the Delta Direction option.

CONTOURFILTER_SHOW_APPLY

[0x00000800] Show the Apply button in the dialog. The dialog will not apply any effect unless the user presses the Apply button.

CONTOURFILTER_SHOW_MAXIMUMERROR

[0X00000080] show the Maximum Error option.

If you include CONTOURFILTER_AUTOPROCESS or CONTOURFILTER_SHOW_PREVIEW in the UIFlags property, the Common Dialog Bitmap property must be assigned a valid before calling this method.

The properties associated with this dialog box are:

Threshold property

DeltaDirection property

MaxError property

ContourOption property

OptionFlags property

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

The Contour Filter dialog can be seen below:

image\ContourFilter.gif

See Also

Elements

ContourFilter method, Threshold property, DeltaDirection property, MaxError property, ContourOption property, OptionFlags property, ShowHelpButton property, EnableZoomToFit Property, UIFlags Property, EnableMethodErrors property.