System.Windows.Forms.WebBrowser.ShowPrintDialog Method

Opens the Internet Explorer Print dialog box without setting header and footer values.

Syntax

public void ShowPrintDialog ()

Remarks

You can use this method to implement a Print menu item similar to the one on the Internet Explorer File menu. This method displays the Print dialog box, letting your users modify print settings prior to printing. To let your users specify page settings prior to printing, use the WebBrowser.ShowPageSetupDialog 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