MhtExportDialog Constructor

Syntax

PP.Prx.Ui.MhtExportDialog(settings)

Parameters

settings. JSON object that contains component settings.

Description

The MhtExportDialog constructor creates a dialog box to export a report to MHT.

Example

To execute this example, in the HEAD tag add links to the following JS and CSS files:

Add the following JavaScript code:

    var mhtExpDialog = new PP.Prx.Ui.MhtExportDialog();
    function ShowDialog() {
        mhtExpDialog.show(10, 30)
        }
    var btn = new PP.Ui.Button({
            ParentNode: document.getElementById("btn1"),
            Click: ShowDialog,
            Content: "Open"
        })

After executing the example the Open button is placed on the page; clicking this button opens the following dialog box:

See also:

MhtExportDialog