Click or drag to resize

TextElementCollection Class

Represents a collection of TextElements.
Inheritance Hierarchy
SystemObject
  GemBox.PresentationCollection
    GemBox.PresentationCollectionTextElement
      GemBox.PresentationTextElementCollection

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public sealed class TextElementCollection : Collection<TextElement>

The TextElementCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of TextElements contained in the collection.
Public propertyItem
Gets or sets the TextElement at the specified index.
Top
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