add_text_effect_in_chart method
add_text_effect_in_chart
Inserts a WordArt object to the chart
Returns
Returns a Shape object that represents the new WordArt object.
def add_text_effect_in_chart(self, effect, text, font_name, size, font_bold, font_italic, top, left, height, width):
...
Parameter | Type | Description |
---|---|---|
effect | MsoPresetTextEffect | The mso preset text effect type. |
text | str | The WordArt text. |
font_name | str | The font name. |
size | int | The font size |
font_bold | bool | Indicates whether font is bold. |
font_italic | bool | Indicates whether font is italic. |
top | int | Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area. |
left | int | Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area. |
height | int | Represents the height of shape, in units of 1/4000 of the chart area. |
width | int | Represents the width of shape, in units of 1/4000 of the chart area. |
See Also
- module
aspose.cells.drawing
- class
ShapeCollection