PdfExportDialog Constructor

Syntax

PP.Prx.Ui.PdfExportDialog(settings)

Parameters

settings. JSON object that contains component settings.

Description

The PdfExportDialog constructor creates a dialog box to export a report to PDF.

Example

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

Add the following JavaScript code:

    var pdfExpDialog = new PP.Prx.Ui.PdfExportDialog();
    function ShowDialog() {
        pdfExpDialog.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:

PdfExportDialog