Click or drag to resize

TextElementCollection Methods

The TextElementCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a TextElement to the end of the collection.
Public methodAddCloneTTextElement(TTextElement)
Adds a clone of the source TTextElement to the end of the collection. Clone will be formatted using the destination theme.
Public methodAddCloneTTextElement(TTextElement, CloneContext)
Adds a clone of the source TTextElement to the end of the collection.
Public methodClear
Removes all TextElements from the collection.
Public methodContains
Determines whether a TextElement is in the collection.
Public methodGetEnumerator
Returns an enumerator that iterates through the TextElementCollection.
Public methodIndexOf
Searches for the specified TextElement and returns the zero-based index of the first occurrence within the entire collection.
Public methodInsert
Inserts a TextElement to the collection at the specified index.
Public methodInsertCloneTTextElement(Int32, TTextElement)
Inserts a clone of the source TTextElement to the collection at the specified index. Clone will be formatted using the destination theme.
Public methodInsertCloneTTextElement(Int32, TTextElement, CloneContext)
Inserts a clone of the source TTextElement to the collection at the specified index.
Public methodRemove
Removes the first occurrence of a specific TextElement from the collection.
Public methodRemoveAt
Removes the TextElement at the specified index of the collection.
Top
See Also