mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* 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
1.7 KiB
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 |
|
|
|
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
SystemandSystem.Windows.Formsassemblies.
See also
- xref:System.Windows.Forms.WebBrowser
- xref:System.Windows.Forms.WebBrowser.Print%2A
- xref:System.Windows.Forms.WebBrowser.Url%2A
- How to: Navigate to a URL with the WebBrowser Control
- How to: Add Web Browser Capabilities to a Windows Forms Application
- How to: Create an HTML Document Viewer in a Windows Forms Application
- WebBrowser Control Overview
- WebBrowser Security