[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ContentControlCollection.Insert

Insert Method

Insert(ContentControlType, InsertLocation, bool)

Inserts a ContentControl into the collection at the specified location.

Declaration
public ContentControl Insert(ContentControlType type, InsertLocation location, bool fillContent = true)
Parameters
Type Name Description
ContentControlType type

The new content control type.

InsertLocation location

The target InsertLocation for the insertion.

bool fillContent

Whether to fill the new control content with default data.

Returns
Type Description
ContentControl

The inserted ContentControl.