[]
Cut this control and paste to the destination position.
Moves the current control to the specified left and top position and returns the same control as the concrete control type.
T Cut(double left, double top)
Function Cut(left As Double, top As Double) As T
| Type | Name | Description |
|---|---|---|
| double | left | The left position of the destination control. |
| double | top | The top position of the destination control. |
| Type | Description |
|---|---|
| T | The moved control. |
IButton button = worksheet.Controls.AddButton(20, 20, 100, 24);
button.Text = "Submit";
IButton movedButton = button.Cut(140, 60);
movedButton.Text = "Moved Submit";