WdContentControlType enumeration

Office 2013 and later

Indicates the type of content control.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

<GuidAttribute("D837E0A6-EB0E-3F7F-B8BE-9C0F05401CCD")> _
Public Enumeration WdContentControlType
Dim instance As WdContentControlType

Member nameDescription
wdContentControlRichTextSpecifies a rich-text content control.
wdContentControlTextSpecifies a text content control
wdContentControlPictureSpecifies a picture content control.
wdContentControlComboBoxSpecifies a combo box content control.
wdContentControlDropdownListSpecifies a drop-down list content control.
wdContentControlBuildingBlockGallerySpecifies a building block gallery content control.
wdContentControlDateSpecifies a date content control.
wdContentControlGroupSpecifies a group content control.
wdContentControlCheckBoxSpecifies a checkbox content control.
wdContentControlRepeatingSectionSpecifies a repeating section content control.

Use the T:Microsoft.Office.Interop.Word.WdContentControlType constants to create new content controls using the Add() method of the ContentControls collection, or use it to determine the type of an existing content control or to change a content control to another type by using the Type property of the ContentControl object.