Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ContentControlCollection Class / Add Method
The new content control type.
Whether to fill the new control content with default data.

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

    Parameters

    type
    The new content control type.
    fillContent
    Whether to fill the new control content with default data.

    Return Value

    The added ContentControl.
    See Also