mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-07 23:43:19 +02:00
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
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: "PrintDialog Component Overview"
|
||||
ms.date: "03/30/2017"
|
||||
f1_keywords:
|
||||
- "PrintDialog"
|
||||
helpviewer_keywords:
|
||||
- "Print dialog box [Windows Forms], displaying"
|
||||
- "PrintDialog component [Windows Forms], about PrintDialog component"
|
||||
ms.assetid: 8327b8ac-1017-4b5e-a88b-fea9dd56999c
|
||||
---
|
||||
# PrintDialog Component Overview (Windows Forms)
|
||||
|
||||
The Windows Forms [PrintDialog](printdialog-component-windows-forms.md) component is a pre-configured dialog box used to select a printer, choose the pages to print, and determine other print-related settings in Windows-based applications. Use it as a simple solution for printer and print-related settings selection in lieu of configuring your own dialog box. You can enable users to print many parts of their documents: print all, print a selected page range, or print a selection. By relying on standard Windows dialog boxes, you create applications whose basic functionality is immediately familiar to users. The <xref:System.Windows.Forms.PrintDialog> component inherits from the <xref:System.Windows.Forms.CommonDialog> class.
|
||||
|
||||
## Working with the Component
|
||||
|
||||
Use the <xref:System.Windows.Forms.CommonDialog.ShowDialog%2A> method to display the dialog box at run time. This component has properties that relate to either a single print job (<xref:System.Drawing.Printing.PrintDocument> class) or the settings of an individual printer (<xref:System.Drawing.Printing.PrinterSettings> class). Either of these, in turn, may be shared by multiple printers.
|
||||
|
||||
When it is added to a form, the <xref:System.Windows.Forms.PrintDialog> component appears in the tray at the bottom of the Windows Forms Designer in Visual Studio.
|
||||
|
||||
## See also
|
||||
|
||||
- <xref:System.Windows.Forms.PrintDialog>
|
||||
- [PrintDialog Component](printdialog-component-windows-forms.md)
|
||||
Reference in New Issue
Block a user