Editare

Partajați prin


PrintPreviewControl.OnResize(EventArgs) Method

Definition

Raises the Resize event.

protected:
 override void OnResize(EventArgs ^ eventargs);
protected override void OnResize (EventArgs eventargs);
override this.OnResize : EventArgs -> unit
Protected Overrides Sub OnResize (eventargs As EventArgs)

Parameters

eventargs
EventArgs

An EventArgs that contains the event data.

Remarks

If the AutoZoom property is set to true, the OnResize method resizes the page in proportion to the PrintPreviewControl control. If AutoZoom is false, the PrintPreviewControl centers the page on the control.

Applies to