Aspose::Cells::Drawing::ShapeCollection::AddWordArt method
Contents
[
Hide
]ShapeCollection::AddWordArt(PresetWordArtStyle, const U16String&, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t) method
Adds preset WordArt since Excel 2007.s.
Shape Aspose::Cells::Drawing::ShapeCollection::AddWordArt(PresetWordArtStyle style, const U16String &text, int32_t upperLeftRow, int32_t top, int32_t upperLeftColumn, int32_t left, int32_t height, int32_t width)
Parameter | Type | Description |
---|---|---|
style | PresetWordArtStyle | The preset WordArt Style. |
text | const U16String& | The text. |
upperLeftRow | int32_t | Upper left row index. |
top | int32_t | Represents the vertical offset of shape from its left row, in unit of pixel. |
upperLeftColumn | int32_t | Upper left column index. |
left | int32_t | Represents the horizontal offset of shape from its left column, in unit of pixel. |
height | int32_t | Represents the height of shape, in unit of pixel. |
width | int32_t | Represents the width of shape, in unit of pixel. |
ReturnValue
Examples
//add a WordArt
U16String val = u"WordArt";
Shape wordArt2 = shapes.AddWordArt(PresetWordArtStyle::WordArtStyle1, val, 3, 0, 3, 0, 50, 200);
See Also
- Class Shape
- Enum PresetWordArtStyle
- Class Vector
- Class U16String
- Class ShapeCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++
ShapeCollection::AddWordArt(PresetWordArtStyle, const char16_t*, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t) method
Adds preset WordArt since Excel 2007.s.
Shape Aspose::Cells::Drawing::ShapeCollection::AddWordArt(PresetWordArtStyle style, const char16_t *text, int32_t upperLeftRow, int32_t top, int32_t upperLeftColumn, int32_t left, int32_t height, int32_t width)
Parameter | Type | Description |
---|---|---|
style | PresetWordArtStyle | The preset WordArt Style. |
text | const char16_t* | The text. |
upperLeftRow | int32_t | Upper left row index. |
top | int32_t | Represents the vertical offset of shape from its left row, in unit of pixel. |
upperLeftColumn | int32_t | Upper left column index. |
left | int32_t | Represents the horizontal offset of shape from its left column, in unit of pixel. |
height | int32_t | Represents the height of shape, in unit of pixel. |
width | int32_t | Represents the width of shape, in unit of pixel. |
ReturnValue
Examples
//add a WordArt
Shape wordArt2 = shapes.AddWordArt(PresetWordArtStyle::WordArtStyle1, u"WordArt", 3, 0, 3, 0, 50, 200);
See Also
- Class Shape
- Enum PresetWordArtStyle
- Class Vector
- Class ShapeCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++