System.Windows.Forms.PrintPreviewControl Class

Represents the raw preview part of print previewing from a Windows Forms application, without any dialog boxes or buttons. Most System.Windows.Forms.PrintPreviewControl objects are found on System.Windows.Forms.PrintPreviewDialog objects, but they do not have to be.

See Also: PrintPreviewControl Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.ComponentModel.DefaultProperty("Document")]
public class PrintPreviewControl : Control

Remarks

When you create an instance of the System.Windows.Forms.PrintPreviewControl class, some of the read/write properties are set to initial values. For a list of these values, see the PrintPreviewControl.#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