TextBoxCollection.Add

TextBoxCollection.Add method

Adds a textbox to the collection.

public int Add(int upperLeftRow, int upperLeftColumn, int height, int width)
ParameterTypeDescription
upperLeftRowInt32Upper left row index.
upperLeftColumnInt32Upper left column index.
heightInt32Height of textbox, in unit of pixel.
widthInt32Width of textbox, in unit of pixel.

Return Value

TextBox object index.

Examples


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

See Also