BuildingBlock Object Members

Word Developer Reference

Represents a building block in a template. A building block is pre-built content, similar to autotext, that may contain text, images, and formatting.

Methods

  Name Description
Bb243409.methods(en-us,office.12).gif Delete Deletes the specified building block.
Bb243409.methods(en-us,office.12).gif Insert Inserts the value of a building block into a document and returns a Range object that represents the contents of the building block within the document.

Properties

  Name Description
Bb243409.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb243409.properties(en-us,office.12).gif Category Returns a Category object that represents the category for a building block. Read-only.
Bb243409.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only Long.
Bb243409.properties(en-us,office.12).gif Description Returns or sets a String that represents the description for a building block. Read/write.
Bb243409.properties(en-us,office.12).gif ID Returns a String that represents the internal identification number for a building block. Read-only.
Bb243409.properties(en-us,office.12).gif Index Returns a Long that represents the position of an item in a collection. Read-only.
Bb243409.properties(en-us,office.12).gif InsertOptions Returns or sets a Long that represents how to insert the contents of a building block into a document. Read/write.
Bb243409.properties(en-us,office.12).gif Name Returns or sets a String that represents the name of a building block. Read/write.
Bb243409.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified BuildingBlock object.
Bb243409.properties(en-us,office.12).gif Type Returns a BuildingBlockType object that represents the type for a building block. Read-only.
Bb243409.properties(en-us,office.12).gif Value Returns or sets a String that represents the contents of a building block. Read/write.