[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ContentControlCollection.Add

Add Method

Add(ContentControlType, bool)

Adds a ContentControl into the collection at the End location.

Declaration
public ContentControl Add(ContentControlType type, bool fillContent = true)
Public Function Add(type As ContentControlType, Optional fillContent As Boolean = True) As ContentControl
Parameters
Type Name Description
ContentControlType type

The new content control type.

bool fillContent

Whether to fill the new control content with default data.

Returns
Type Description
ContentControl

The added ContentControl.