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

In This Topic
    AddContentControl Method (OMathElement)
    In This Topic
    Adds a ContentControl to the end of the Office Math element.
    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