Aspose::Cells::Drawing::TextBoxCollection::Add method
TextBoxCollection::Add method
Adds a textbox to the collection.
int32_t Aspose::Cells::Drawing::TextBoxCollection::Add(int32_t topRow, int32_t leftColumn, int32_t height, int32_t width)
| Parameter | Type | Description |
|---|---|---|
| topRow | int32_t | Upper left row index. |
| leftColumn | int32_t | Upper left column index. |
| height | int32_t | Height of textbox, in unit of pixel. |
| width | int32_t | Width of textbox, in unit of pixel. |
ReturnValue
TextBox object index.
Examples
//add a TextBox
int index2 = textBoxCollection.Add(1, 1, 50, 100);
See Also
- Class Vector
- Class TextBoxCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++