TXTextControl.Drawing.ShapeCollection Class

An instance of the ShapeCollection class contains all displayed shapes represented through objects of type Shape. It is inherited from the abstract class System.Collections.CollectionBase and implements the System.Collections.IEnumerable and System.Collections.IEnumerator interfaces. For a list of properties, methods and events of these classes and interfaces see the .NET Framework reference.

Introduced: 23.0.


public class ShapeCollection: CollectionBase, IEnumerable, IEnumerator
[Visual Basic]
Public Class ShapeCollection
  Inherits CollectionBase
  Implements IEnumerable
  Implements IEnumerator


Method Description
Add Overloaded. Adds an object of the type Shape to the collection.
Insert Inserts an object of the type Shape to the collection at a specified index.
Item Gets an object of type Shape from the collection.
Remove Removes an object of the type Shape from the collection.

See Also