ChartFormat
ChartFormat
概述
ChartFormat 是 Aspose.Words FOSS 中用于 .NET 的一个类。继承自:IFillable,IStrokable。
表示图表元素的格式。
此类提供 1 个方法,用于在 .NET 程序中处理 ChartFormat 对象。可用的方法包括:SetDefaultFill。在安装 Aspose.Words FOSS for .NET 包之后,所有公共成员对任何 .NET 应用程序均可访问。属性:Fill、IsDefined、ShapeType、Stroke。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Fill | Fill | 读取 | 获取父图表元素的填充格式。 |
Stroke | Stroke | 读取 | 获取父图表元素的线条格式。 |
ShapeType | ChartShapeType | 读写 | 获取或设置父图表元素的形状类型。 |
IsDefined | bool | 读取 | 获取一个标志,指示是否已定义任何格式。 |
方法
| 签名 | 描述 |
|---|---|
SetDefaultFill() | 将图表元素的填充重置为默认值。 |