WdContentControlType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the type of content control.
public enum class WdContentControlType
[System.Runtime.InteropServices.Guid("D837E0A6-EB0E-3F7F-B8BE-9C0F05401CCD")]
public enum WdContentControlType
type WdContentControlType =
Public Enum WdContentControlType
- Inheritance
-
WdContentControlType
- Attributes
Fields
Name | Value | Description |
---|---|---|
wdContentControlRichText | 0 | Specifies a rich-text content control. |
wdContentControlText | 1 | Specifies a text content control |
wdContentControlPicture | 2 | Specifies a picture content control. |
wdContentControlComboBox | 3 | Specifies a combo box content control. |
wdContentControlDropdownList | 4 | Specifies a drop-down list content control. |
wdContentControlBuildingBlockGallery | 5 | Specifies a building block gallery content control. |
wdContentControlDate | 6 | Specifies a date content control. |
wdContentControlGroup | 7 | Specifies a group content control. |
wdContentControlCheckBox | 8 | Specifies a checkbox content control. |
wdContentControlRepeatingSection | 9 | Specifies a repeating section content control. |
Remarks
Use the T:Microsoft.Office.Interop.Word.WdContentControlType constants to create new content controls using the Microsoft.Office.Interop.Word.ContentControls.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.