Aspose::Cells::Drawing::TextBoxCollection::Add method

TextBoxCollection::Add method

Adds a textbox to the collection.

int32_t Aspose::Cells::Drawing::TextBoxCollection::Add(int32_t upperLeftRow, int32_t upperLeftColumn, int32_t height, int32_t width)
ParameterTypeDescription
upperLeftRowint32_tUpper left row index.
upperLeftColumnint32_tUpper left column index.
heightint32_tHeight of textbox, in unit of pixel.
widthint32_tWidth of textbox, in unit of pixel.

ReturnValue

TextBox object index.

Examples

    //add a TextBox
int index2 = textBoxCollection.Add(1, 1, 50, 100);

See Also