## MainWeb.MaxColumn property

获取或设置网页表格的最大显示列索引（从零开始）。 控件使用MaxColumn和表格数据最大列的较大值。

```csharp
public int MaxColumn { get; set; }
```

### 例子

```csharp
[C#]
	// 创建一个 4x4 的“显示窗口”。
	GridWeb1.MinRow = 2;
	GridWeb1.MaxRow = 5;
	GridWeb1.MinColumn = 3;
	GridWeb1.MaxColumn = 6;

[Visual Basic]
	' Creates a 4x4 "display window".
	GridWeb1.MinRow = 2
	GridWeb1.MaxRow = 5
	GridWeb1.MinColumn = 3
	GridWeb1.MaxColumn = 6
```

### 也可以看看

* class [MainWeb](../../mainweb)
* 命名空间 [Aspose.Cells.GridWeb](../../mainweb)
* 部件 [Aspose.Cells.GridWeb](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
