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

In This Topic
    AddContentControl Method (SimpleField)
    In This Topic
    Adds a ContentControl to the end of the current simple field.
    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 new content control type.
    fillContent
    Whether to fill the new control content with default data.

    Return Value

    The added ContentControl.
    See Also