Share via


ExcelWebRenderer.ColumnsToDisplay Property

Gets or sets the number of columns to display.

Namespace:  Microsoft.Office.Excel.WebUI
Assembly:  Microsoft.Office.Excel.WebUI (in Microsoft.Office.Excel.WebUI.dll)

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.User)> _
<WebPartStorageAttribute(Storage.Personal)> _
Public Property ColumnsToDisplay As Integer
    Get
    Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Integer

value = instance.ColumnsToDisplay

instance.ColumnsToDisplay = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.User)]
[WebPartStorageAttribute(Storage.Personal)]
public int ColumnsToDisplay { get; set; }

Property Value

Type: System.Int32
Valid values are 1 to 500. The default value is 75.

Remarks

This value specifies the number of columns to display when a user pages up, down, left, or right when using a workbook in normal view.

See Also

Reference

ExcelWebRenderer Class

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace