System.Windows.Forms.PrintPreviewControl Members

The members of System.Windows.Forms.PrintPreviewControl are listed below.

See Also: Inherited members from System.Windows.Forms.Control

Public Constructors

Initializes a new instance of the System.Windows.Forms.PrintPreviewControl class.

Public Properties

AutoZoombool.

Gets or sets a value indicating whether resizing the control or changing the number of pages shown automatically adjusts the PrintPreviewControl.Zoom property.

Columnsint.

Gets or sets the number of pages displayed horizontally across the screen.

DocumentSystem.Drawing.Printing.PrintDocument.

Gets or sets a value indicating the document to preview.

override
RightToLeftRightToLeft. Documentation for this section has not yet been entered.
Rowsint.

Gets or sets the number of pages displayed vertically down the screen.

StartPageint.

Gets or sets the page number of the upper left page.

override
Textstring.

Gets or sets the text associated with this control.

UseAntiAliasbool.

Gets or sets a value indicating whether printing uses the anti-aliasing features of the operating system.

Zoomdouble.

Gets or sets a value indicating how large the pages will appear.

Protected Properties

[read-only]
override
CreateParamsCreateParams.

Gets the required creation parameters when the control handle is created.

Public Methods

InvalidatePreview()

Refreshes the preview of the document.

override
ResetBackColor()

Resets the Control.BackColor property to System.Drawing.SystemColors.AppWorkspace, which is the default color.

override
ResetForeColor()

Resets the foreground color of the System.Windows.Forms.PrintPreviewControl to System.Drawing.Color.White, which is the default color.

Protected Methods

override
OnPaint(PaintEventArgs)

Overrides the Control.OnPaint(PaintEventArgs) method.

override
OnResize(EventArgs)

Raises the Control.Resize event.

OnStartPageChanged(EventArgs)

Raises the PrintPreviewControl.StartPageChanged event.

override
WndProc(ref Message)
Documentation for this section has not yet been entered.

Public Events

StartPageChanged

Occurs when the start page changes.

TextChanged

Occurs when the value of the PrintPreviewControl.Text property changes.