Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Rows Property

PrintPreviewControl.Rows Property

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

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public int Rows { get; set; }

Property Value

Type: System.Int32
The number of pages displayed vertically down the screen. The default is 0.

ExceptionCondition
ArgumentOutOfRangeException

The set value is less than 1.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft