add_word_art method

add_word_art(self, style, text, upper_left_row, top, upper_left_column, left, height, width)

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
styleaspose.cells.drawing.PresetWordArtStyleThe preset WordArt Style.
textSystem.StringThe 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