ShowRemoveRedEyeDlg method (ILEADRasterDlgImgDoc)

Visual Basic example

Visual C++ example

 

Syntax

short ShowRemoveRedEyeDlg (long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

Displays the Remove Redeye dialog box, and gets the options for RemoveRedeye method.

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

Value

Meaning

REMOVEREDEYE_AUTOPROCESS

[0x00000001] process the image on OK; you must assign a valid bitmap to the Common Dialog Bitmap property prior to bringing up the dialog.

REMOVEREDEYE_SHOW_CONTEXTHELP

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

REMOVEREDEYE_SHOW_PREVIEW

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

REMOVEREDEYE_SHOW_TOOL_ZOOMLEVEL

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

REMOVEREDEYE_SHOW_APPLY

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

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

The properties associated with this dialog box are:

NewColor property

Threshold property

Lightness Property

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

The Remove Redeye dialog can be seen below:

image\RemoveRedeye.gif

See Also

Elements

RemoveRedeye method, NewColor property, Threshold property, Ligthness property, ShowHelpButton property, UIFlags property, EnableZoomToFit property, EnableMethodsErrors property