Aspose::Cells::Drawing::ShapeCollection::AddTextBox method
Contents
[
Hide
]ShapeCollection::AddTextBox method
Adds a text box to the worksheet.
TextBox Aspose::Cells::Drawing::ShapeCollection::AddTextBox(int32_t upperLeftRow, int32_t top, int32_t upperLeftColumn, int32_t left, int32_t height, int32_t width)
Parameter | Type | Description |
---|---|---|
upperLeftRow | int32_t | Upper left row index. |
top | int32_t | Represents the vertical offset of textbox from its top row, in unit of pixel. |
upperLeftColumn | int32_t | Upper left column index. |
left | int32_t | Represents the horizontal offset of textbox from its left column, in unit of pixel. |
height | int32_t | Represents the height of textbox, in unit of pixel. |
width | int32_t | Represents the width of textbox, in unit of pixel. |
ReturnValue
A TextBox object.
Examples
//add a TextBox
TextBox textBox = shapes.AddTextBox(1, 0, 1, 0, 100, 50);
See Also
- Class TextBox
- Class Vector
- Class ShapeCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++