WdContentControlType Enumeration
Indicates the type of content control.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Public Enumeration WdContentControlType
'Usage
Dim instance As WdContentControlType
public enum WdContentControlType
Members
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. |
Remarks
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.