| 
DocumentObjectCollection
Insert Method
  | 
 Inserts a entity into the collection at the specified index.
 Namespace:
 Spire.Doc.Collections
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public void Insert(
	int index,
	IDocumentObject entity
)
 
Public Sub Insert ( 
	index As Integer,
	entity As IDocumentObject
)
 
public:
void Insert(
	int index, 
	IDocumentObject^ entity
)
 
member Insert : 
index : int * 
entity : IDocumentObject -> unit 
 
 
 
Parameters
 
- 
index
 
- 
 Type:
 
System
Int32
 
 The index.
- 
entity
 
- 
 Type:
 
Spire.Doc.Interface
IDocumentObject
 
 the document object.
 
 See Also
See Also