## GridWorksheetCollection.DefaultFontSize property

获取或设置控件的默认字体大小。

```csharp
public FontUnit DefaultFontSize { get; set; }
```

### 例子

```csharp
[C#]
	GridWeb1.DefaultFontSize = new System.Web.UI.WebControls.FontUnit("10pt");

[Visual Basic]
	GridWeb1.DefaultFontSize = New System.Web.UI.WebControls.FontUnit("10pt")
```

### 也可以看看

* class [GridWorksheetCollection](../../gridworksheetcollection)
* 命名空间 [Aspose.Cells.GridWeb.Data](../../gridworksheetcollection)
* 部件 [Aspose.Cells.GridWeb](../../../)

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