System.Windows.Forms.PrintPreviewDialog.Size Property

Gets or sets the size of the form.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.Browsable(false)]
public System.Drawing.Size Size { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is not relevant for this class.

This property allows you to set both the height and width of the form at the same time instead of setting the Control.Height and Control.Width properties individually. If you want to set the size and location of a form, you can use the Form.DesktopBounds property to size and locate the form based on desktop coordinates or use the Control.Bounds property of the System.Windows.Forms.Control class to set the size and location of the form based on screen coordinates.

Requirements

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