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)
| Member name | Description | |
|---|---|---|
| wdContentControlRichText | Specifies a rich-text content control. | |
| wdContentControlText | Specifies a text content control | |
| wdContentControlPicture | Specifies a picture content control. | |
| wdContentControlComboBox | Specifies a combo box content control. | |
| wdContentControlDropdownList | Specifies a drop-down list content control. | |
| wdContentControlBuildingBlockGallery | Specifies a building block gallery content control. | |
| wdContentControlDate | Specifies a date content control. | |
| wdContentControlGroup | Specifies a group content control. | |
| wdContentControlCheckBox | Specifies a checkbox content control. | |
| wdContentControlRepeatingSection | Specifies 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.
Show: