add_word_art method

add_word_art

Adds preset WordArt since Excel 2007.s

Returns

def add_word_art(self, style, text, upper_left_row, top, upper_left_column, left, height, width):
    ...
ParameterTypeDescription
stylePresetWordArtStyleThe preset WordArt Style.
textstrThe text.
upper_left_rowintUpper left row index.
topintRepresents the vertical offset of shape from its left row, in unit of pixel.
upper_left_columnintUpper left column index.
leftintRepresents the horizontal offset of shape from its left column, in unit of pixel.
heightintRepresents the height of shape, in unit of pixel.
widthintRepresents the width of shape, in unit of pixel.

Example

from aspose.cells.drawing import PresetWordArtStyle

# add a WordArt
wordArt2 = shapes.add_word_art(PresetWordArtStyle.WORD_ART_STYLE1, "WordArt", 3, 0, 3, 0, 50, 200)

See Also