ContentControl.BuildingBlockType Property
Word Developer Reference |
Returns or sets a WdBuildingBlockTypes constant that represents they type of building block for a building block content control. Read/write.
Version Information
Version Added: Word 2007
Syntax
expression.BuildingBlockType
expression An expression that returns a ContentControl object.
Remarks
This property applies only to building block content controls and corresponds with the Gallery option in the Content Control Properties dialog box. You can set this property only for the following building block types:
- Custom 1 through Custom 5
- Autotext
- Quick Parts
- Custom Autotext
- Custom Quick Parts
- Equations
Example
The following example creates a new building block content control and specifies the type of building block and the gallery.
Visual Basic for Applications |
---|
|
See Also
- ContentControl Object
- ContentControl Object Members
- How to: Bind a Content Control to a Node in the Data Store
- How to: Bind Controls to a Specific Row in the Data Store When Inserting a Building Block
- How to: Change a Content Control from One Type to Another
- How to: Change the Editability of a Content Control
- How to: Create a Custom Building Block Gallery
- How to: Filter the Building Block List in a Content Control
- How to: Insert a Content Control into a Building Block
- How to: Remove Data from the Data Store When Deleting a Content Control
- How to: Set the Building Blocks That You Can Use for a Content Control
- Walkthrough: Connect an Item in the Data Store to a SQL Server Database
- Walkthrough: Connect an Item in the Data Store to a Web Service
- Walkthrough: Connect an Item in the Data Store to an Access Database
- Walkthrough: Connect an Item in the Data Store to an Excel Workbook
- Working with Building Blocks
- Working with Content Controls