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)
ParameterTypeDescription
effectMsoPresetTextEffectThe mso preset text effect type.
textStringThe WordArt text.
fontNameStringThe font name.
sizeInt32The font size
fontBoldBooleanIndicates whether font is bold.
fontItalicBooleanIndicates whether font is italic.
topInt32Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area.
leftInt32Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area.
heightInt32Represents the height of shape, in units of 1/4000 of the chart area.
widthInt32Represents 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