ShowGIFWebTunerDlg method (ILEADRasterDlgWeb)

Visual Basic example

Visual C++ example

 

Syntax

short ShowGIFWebTunerDlg (long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

Displays the GIF Web Tuner dialog box, and gets the tuning options used by the ColorRes, Fill, and Save methods.

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

Value

Meaning

GIFWEBTUNER_SHOW_CONTEXTHELP

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

GIFWEBTUNER_SHOW_PREVIEW

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

GIFWEBTUNER_SHOW_TOOL_ZOOMLEVEL

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

GIFWEBTUNER_SHOW_TOOL_COLORPICKER

[0X00000008] show the Color button.

GIFWEBTUNER_SHOW_ADDWINDOWCOLOR

[0X00000020] show the Add Window colors check box.

GIFWEBTUNER_SHOW_TRANSPARENCY

[0X00000040] show the Transparency group of controls.

GIFWEBTUNER_SHOW_INFORMATION

[0X00000080] show the Information group of controls.

GIFWEBTUNER_SHOW_OPTIONS

[0X00000100] show the Options group of controls.

GIFWEBTUNER_SHOW_EXPORT

[0X00000200] show the Export button instead of the OK button.

These values may be combined by ORing them.

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

The following properties are associated with this method:

TransparentColor property

PaletteType property

EnableWindowsColors Property

DitherType property

BitsPerPixel property

NumOfColors property

TransparencyTolerance property

EnableTransparent Property

Interlaced property

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

The GIF Web Tuner dialog can be seen below:

image\GIFWebTuner.gif

See Also

Elements

ShowHelpButton property, EnableZoomToFit Property, UIFlags Property, EnableMethodErrors property