ShowJPEGWebTunerDlg method (ILEADRasterDlgWeb)

Visual Basic example

Visual C++ example

 

Syntax

short ShowJPEGWebTunerDlg (long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

Displays the JPEG Web Tuner dialog box, and gets the tuning options used by the Save and SaveWithStamp methods.

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

Value

Meaning

JPEGWEBTUNER_SHOW_CONTEXTHELP

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

JPEGWEBTUNER_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.

JPEGWEBTUNER_SHOW_TOOL_ZOOMLEVEL

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

JPEGWEBTUNER_SHOW_INFORMATION

[0X00000008] show the Information group of controls.

JPEGWEBTUNER_SHOW_SAVETHUMBNAIL

[0X00000010] show the Save Thumbnail control.

JPEGWEBTUNER_SHOW_OPTIONS

[0X00000100] show the Options group of controls.

JPEGWEBTUNER_SHOW_EXPORT

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

These values may be combined by ORing them.

If you include JPEGWEBTUNER_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:

Quality property

Format property

Progressive property

EnableStamp Property

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

The JPEG Web Tuner dialog can be seen below:

image\JPEGWebTuner.gif

See Also

Elements

ShowHelpButton property, EnableZoomToFit Property, UIFlags Property, EnableMethodErrors property