ExcelWebRenderer.ColumnsToDisplay Property
NOTE: This API is now obsolete.
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
<ObsoleteAttribute("This property is no longer supported.")> _
<WebPartStorageAttribute(Storage.None)> _
<WebBrowsableAttribute(False)> _
<BrowsableAttribute(False)> _
Public Property ColumnsToDisplay As Integer
Get
Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Integer
value = instance.ColumnsToDisplay
instance.ColumnsToDisplay = value
[ObsoleteAttribute("This property is no longer supported.")]
[WebPartStorageAttribute(Storage.None)]
[WebBrowsableAttribute(false)]
[BrowsableAttribute(false)]
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.
This member is reserved for internal use and is not intended to be used directly from your code.