ShapeCollection.AddWordArt

ShapeCollection.AddWordArt method

Adds preset WordArt since Excel 2007.s

public Shape AddWordArt(PresetWordArtStyle style, string text, int upperLeftRow, int top, 
    int upperLeftColumn, int left, int height, int width)
ParameterTypeDescription
stylePresetWordArtStyleThe preset WordArt Style.
textStringThe text.
upperLeftRowInt32Upper left row index.
topInt32Represents the vertical offset of shape from its left row, in unit of pixel.
upperLeftColumnInt32Upper left column index.
leftInt32Represents the horizontal offset of shape from its left column, in unit of pixel.
heightInt32Represents the height of shape, in unit of pixel.
widthInt32Represents the width of shape, in unit of pixel.

Examples


[C#]
//add a WordArt
Shape wordArt2 = shapes.AddWordArt(PresetWordArtStyle.WordArtStyle1, "WordArt", 3, 0, 3, 0, 50, 200);

See Also