Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Body Class / AddContentControl Method
The type of the new content control.
Indicates whether to fill the new control's content with default data.

In This Topic
    AddContentControl Method (Body)
    In This Topic
    Adds a ContentControl to the end of the current body.
    Syntax
    'Declaration
     
    Public Function AddContentControl( _
       ByVal type As ContentControlType, _
       Optional ByVal fillContent As System.Boolean _
    ) As ContentControl
    public ContentControl AddContentControl( 
       ContentControlType type,
       System.bool fillContent
    )

    Parameters

    type
    The type of the new content control.
    fillContent
    Indicates whether to fill the new control's content with default data.

    Return Value

    The added ContentControl.
    See Also