Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Show the page setup dialog. Note that there is no way to tell whether the user clicked OK or Cancel on the dialog.
A DOM window the dialog will be parented to.
Show the print dialog.
NS_OK if the print operation should proceed
NS_ERROR_ABORT if the user indicated not to proceed
a suitable error for failures to show the print dialog.
A DOM window the dialog will be parented to.
A boolean indicating whether the document to be printed has some selected text, which is used to determine whether the "Print selection only" radio button is enabled in the print settings dialog.
Generated using TypeDoc
Service for opening native print dialogs provided by the operating system. (The widget code may customize the dialog.)