Worksheet
Worksheet
Overview
Worksheet 是一个类在Aspose.Cells FOSS的.NET中.
包含一个工作表及其支持的 v0.1 工作单功能. var工作簿 = 新的工作簿();var工作卷 = 工表[0]; sheet.Name = “数据”; sheet .Cells [“A1”].PutValue(“北方”); sheet.Calls[“B1”).PutValue ((42); sheet,Zoom = 120;sheet.PageSetup.Orientation = PageOrientationType.Landscape;
本类提供了在.NET 程序中与工作表对象的两种方法. 有的方法包括: Protect, Unprotect. 所有出口的成员都可访问任何NET应用程序,在安装了Aspose.Cells FOSS for .NET包后. 特性: AutoFilter, Cells, Charts, Comments, ConditionalFormattings, Hyperlinks,另外还有14个.
Description
Worksheet 是一个在 .NET 的 Aspose.Cells FOSS 库中的类,它暴露了 2 种方法和 20 个属性用于编程使用.
课程还提供了 Cells 具有 (得到细胞),该 Hyperlinks 产品 (获取超链接), Validations 获得验证.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | 阅读/写作 | 得到或设置名字. |
VisibilityType | VisibilityType | 阅读/写作 | 获取或设置可见性类型. |
TabColor | Color | 阅读/写作 | 获取或设置选项卡颜色. |
ShowGridlines | bool | 阅读/写作 | 获得或设置节目的线条. |
ShowRowColumnHeaders | bool | 阅读/写作 | 获取或设置显示行列标题. |
ShowZeros | bool | 阅读/写作 | 得到或设置节目零. |
RightToLeft | bool | 阅读/写作 | 得到或设置右到左. |
Zoom | int | 阅读/写作 | 得到或设置缩放. |
Cells | Cells | Read | 得到了细胞. |
Hyperlinks | HyperlinkCollection | Read | 得到了链接. |
Validations | ValidationCollection | Read | 得到了验证. |
ConditionalFormattings | ConditionalFormattingCollection | Read | 得到了条件格式. |
PageSetup | PageSetup | Read | 设置页面. |
Protection | WorksheetProtection | Read | 得到保护. |
AutoFilter | AutoFilter | Read | 得到了自动过器. |
ListObjects | ListObjectCollection | Read | 获取列表对象. |
Pictures | PictureCollection | Read | 得到了照片. |
Shapes | ShapeCollection | Read | 得到了形状. |
Charts | ChartCollection | Read | 得到了图表. |
Comments | CommentCollection | Read | 得到评论. |
Methods
| Signature | Description |
|---|---|
Protect() | 使用当前的保护设置标记工作表为受保护. |
Unprotect() | 清除工作表保护并重新设置支持的保护标志. |