Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ContentControlCollection Class / Insert(ContentControlType,InsertLocation,Boolean) Method
The new content control type.
The target InsertLocation for the insertion.
Whether to fill the new control content with default data.

In This Topic
    Insert(ContentControlType,InsertLocation,Boolean) Method
    In This Topic
    Inserts a ContentControl into the collection at the specified location.
    Syntax
    'Declaration
     
    Public Function Insert( _
       ByVal type As ContentControlType, _
       ByVal location As InsertLocation, _
       Optional ByVal fillContent As System.Boolean _
    ) As ContentControl
    public ContentControl Insert( 
       ContentControlType type,
       InsertLocation location,
       System.bool fillContent
    )

    Parameters

    type
    The new content control type.
    location
    The target InsertLocation for the insertion.
    fillContent
    Whether to fill the new control content with default data.

    Return Value

    The inserted ContentControl.
    See Also