System.Windows.Forms.WebBrowser.ShowPageSetupDialog Method

Opens the Internet Explorer Page Setup dialog box.

Syntax

public void ShowPageSetupDialog ()

Remarks

You can use this method to implement a Page Setup menu item similar to the one on the Internet Explorer File menu. This method displays the Page Setup dialog box, which lets your users specify header and footer values and other page settings prior to printing. To print the current document, use the WebBrowser.Print method or the WebBrowser.ShowPrintDialog method. To display the Print Preview dialog box, use the WebBrowser.ShowPrintPreviewDialog method.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0