[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Body.AddContentControl

AddContentControl Method

AddContentControl(ContentControlType, bool)

Adds a ContentControl to the end of the current body.

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

The type of the new content control.

bool fillContent

Indicates whether to fill the new control's content with default data.

Returns
Type Description
ContentControl

The added ContentControl.