PrintPreviewControl.Columns Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public int Columns { get; set; }

Property Value

Type: System.Int32

The number of pages displayed horizontally across the screen. The default is 1.

Exception Condition
ArgumentOutOfRangeException

The set value is less than 1.

.NET Framework
Available since 1.1
Return to top
Show: