AddTextEffectInChart
ShapeCollection.AddTextEffectInChart method
将艺术字对象插入图表
public Shape AddTextEffectInChart(MsoPresetTextEffect effect, string text, string fontName,
int size, bool fontBold, bool fontItalic, int top, int left, int height, int width)
| 范围 | 类型 | 描述 |
|---|---|---|
| effect | MsoPresetTextEffect | mso 预设文字效果类型。 |
| text | String | 艺术字文本。 |
| fontName | String | 字体名称。 |
| size | Int32 | 字体大小 |
| fontBold | Boolean | 指示字体是否为粗体。 |
| fontItalic | Boolean | 指示字体是否为斜体。 |
| top | Int32 | 以图表区域的 1/4000 为单位表示形状从左上角的垂直偏移量。 |
| left | Int32 | 以图表区域的 1/4000 为单位表示形状从左上角的垂直偏移量。 |
| height | Int32 | 表示形状的高度,以图表区域的 1/4000 为单位。 |
| width | Int32 | 表示形状的宽度,以图表区域的 1/4000 为单位。 |
返回值
返回一个表示新艺术字对象的 Shape 对象。
也可以看看
- class Shape
- enum MsoPresetTextEffect
- class ShapeCollection
- 命名空间 Aspose.Cells.Drawing
- 部件 Aspose.Cells