ShapeCollection.AddTextEffectInChart
ShapeCollection.AddTextEffectInChart method
Inserts a WordArt object to the chart
public Shape AddTextEffectInChart(MsoPresetTextEffect effect, string text, string fontName,
int size, bool fontBold, bool fontItalic, int top, int left, int height, int width)
Parameter | Type | Description |
---|---|---|
effect | MsoPresetTextEffect | The mso preset text effect type. |
text | String | The WordArt text. |
fontName | String | The font name. |
size | Int32 | The font size |
fontBold | Boolean | Indicates whether font is bold. |
fontItalic | Boolean | Indicates whether font is italic. |
top | Int32 | Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area. |
left | Int32 | Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area. |
height | Int32 | Represents the height of shape, in units of 1/4000 of the chart area. |
width | Int32 | Represents the width of shape, in units of 1/4000 of the chart area. |
Return Value
Returns a Shape object that represents the new WordArt object.
See Also
- class Shape
- enum MsoPresetTextEffect
- class ShapeCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells