Click or drag to resize

TextElementCollectionInsert Method

Inserts a TextElement to the collection at the specified index.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public void Insert(
	int index,
	TextElement item
)

Parameters

index
Type: SystemInt32
The zero-based index at which TextElement should be inserted.
item
Type: GemBox.PresentationTextElement
The TextElement to insert into the collection.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or index is equal to or greater than Count.
ArgumentNullExceptionitem is .
ArgumentExceptionitem is already contained in another TextElementCollection or it belongs to another SlideObject.
See Also