Click or drag to resize

PdfCollectionTInsert Method

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public void Insert(
	int index,
	T item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: T
The element to insert.

Implements

IListTInsert(Int32, T)
Exceptions
ExceptionCondition
InvalidOperationExceptionThe underlying PdfArray is read-only (IsReadOnly returns ).
ArgumentOutOfRangeExceptionindex is less than 0 or index is greater than Count.
ArgumentExceptionitem is invalid for the current collection.
See Also