Compartilhar via


WdContentControlType Enumeration

Word Developer Reference

Indicates the type of content control.

Version Information
 Version Added:  Word 2007

Name Value Description
wdContentControlBuildingBlockGallery 5 Specifies a building block gallery content control.
wdContentControlComboBox 3 Specifies a combo box content control.
wdContentControlDate 6 Specifies a date content control.
wdContentControlGroup 7 Specifies a group content control.
wdContentControlDropdownList 4 Specifies a drop-down list content control.
wdContentControlPicture 2 Specifies a picture content control.
wdContentControlRichText 0 Specifies a rich-text content control.
wdContentControlText 1 Specifies a text content control

Remarks

Use the 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.