.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ShapeCollection.AddTextBox Method

Name Parameters Description
AddTextBox(Cell, Single, Single, String) topLeftCell, width, height, text

Inserts a text box so that its top left corner is located at the specified cell.

AddTextBox(CellRange, String) targetRange, text

Inserts a text box to fit in the specified range.

AddTextBox(Single, Single, Single, Single, String) x, y, width, height, text

Inserts a text box.