Files
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

1.7 KiB

title, ms.date, dev_langs, f1_keywords, helpviewer_keywords, ms.assetid
title ms.date dev_langs f1_keywords helpviewer_keywords ms.assetid
How to: Print with a WebBrowser Control 03/30/2017
csharp
vb
WebBrowser.Print
printing [Windows Forms], Web pages
WebBrowser control [Windows Forms], examples
WebBrowser control [Windows Forms], printing from
Web pages [Windows Forms], printing
examples [Windows Forms], WebBrowser control
3fb2a305-64ce-4b6c-9258-5330d3f21b6c

How to: Print with a WebBrowser Control

The following code example demonstrates how use the xref:System.Windows.Forms.WebBrowser control to print a Web page without displaying it.

Example

[!code-csharpWebBrowserMisc#10] [!code-vbWebBrowserMisc#10]

Compiling the Code

This example requires:

  • References to the System and System.Windows.Forms assemblies.

See also