Insert Method
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Inserts an object of the type Shape to the collection at a specified index.
Syntax
public void Insert(int index, Shape shape);Public Sub Insert(index As Integer, shape As Shape)Parameters
Examples
The following example uses Insert in a focused Shape Collection workflow. The created object is then available to the surrounding document workflow.
shapeCollection.Insert(1, new TXTextControl.Drawing.Shape());
Console.WriteLine("Shape Collection is ready for use.");shapeCollection.Insert(1, New TXTextControl.Drawing.Shape())
Console.WriteLine("Shape Collection is ready for use.")