System.Windows.Forms.PrintPreviewDialog Class

Represents a dialog box form that contains a System.Windows.Forms.PrintPreviewControl for printing from a Windows Forms application.

See Also: PrintPreviewDialog Members

Syntax

[System.ComponentModel.ToolboxItemFilter("System.Windows.Forms.Control.TopLevel", System.ComponentModel.ToolboxItemFilterType.Allow)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.ComponentModel.ToolboxItem(true)]
[System.ComponentModel.DesignTimeVisible(true)]
[System.ComponentModel.Designer("System.ComponentModel.Design.ComponentDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DefaultProperty("Document")]
public class PrintPreviewDialog : Form

Remarks

When you create an instance of the System.Windows.Forms.PrintPreviewDialog class, some of the read/write properties are set to initial values. For a list of these values, see the PrintPreviewDialog.#ctor constructor.

For more information about printing with Windows Forms, see the System.Drawing.Printing namespace overview. If you wish to print from a Windows Presentation Foundation application, see the System.Printing namespace.

Requirements

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