Click or drag to resize

DrawingCollectionInsert Method

Inserts a Drawing 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,
	Drawing item
)

Parameters

index
Type: SystemInt32
The zero-based index at which Drawing should be inserted.
item
Type: GemBox.PresentationDrawing
The Drawing 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 DrawingCollection or it belongs to another SlideObject.
See Also