Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Body Class / CanAddContentControl Method / CanAddContentControl(ContentControlType) Method
The type of the content control to add.

In This Topic
    CanAddContentControl(ContentControlType) Method
    In This Topic
    Checks whether a ContentControl of the specified type can be added to the current body.
    Syntax
    'Declaration
     
    Public Overloads Function CanAddContentControl( _
       ByVal type As ContentControlType _
    ) As System.Boolean
    public System.bool CanAddContentControl( 
       ContentControlType type
    )

    Parameters

    type
    The type of the content control to add.

    Return Value

    true if a content control of the specified type can be added, false otherwise.
    See Also