System.Windows.Forms.PrintPreviewControl.OnResize Method

Raises the Control.Resize event.

Syntax

protected override void OnResize (EventArgs eventargs)

Parameters

eventargs
An EventArgs that contains the event data.

Remarks

If the PrintPreviewControl.AutoZoom property is set to true, the PrintPreviewControl.OnResize(EventArgs) method resizes the page in proportion to the System.Windows.Forms.PrintPreviewControl control. If PrintPreviewControl.AutoZoom is false, the System.Windows.Forms.PrintPreviewControl centers the page on the control.

Requirements

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