Gets or sets the number of page columns shown.

Namespace:  C1.Win.C1Preview
Assembly:  C1.Win.C1Report.2 (in C1.Win.C1Report.2.dll)

Syntax

C#
[DefaultValueAttribute()]
[RefreshPropertiesAttribute(RefreshProperties.All)]
public int Cols { get; set; }
Visual Basic
<DefaultValueAttribute()> _
<RefreshPropertiesAttribute(RefreshProperties.All)> _
Public Property Cols As Integer
	Get
	Set

Remarks

The default value for this property is 1.

Examples

The following line of code will set the number of columns in the preview pane to three; therefore, if you have multiple pages, they will appear in three columns within the pane.

Copy CodeVisual Basic
Me.C1PrintPreviewControl1.PreviewPane.Cols = 3
Copy CodeC#
this.C1PrintPreviewControl1.PreviewPane.Cols = 3;

See Also