BuildingBlock Members

Include Protected Members
Include Inherited Members

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

The BuildingBlock type exposes the following members.

Methods

  Name Description
Public method Delete Deletes the specified building block.
Public method 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.

Top

Properties

  Name Description
Public property Application Returns an _Application object that represents the Microsoft Word application.
Public property Category Returns the category for a building block. Read-only.
Public property Creator Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only.
Public property Description Returns or sets the description for a building block. Read/write.
Public property ID Returns the internal identification number for a building block. Read-only.
Public property Index Returns the position of an item in a collection. Read-only.
Public property InsertOptions Returns or sets an Integer that represents how to insert the contents of a building block into a document. Read/write.
Public property Name Returns or sets the name of a building block. Read/write.
Public property Parent Returns the parent object of the specified BuildingBlock object.
Public property Type Returns the type for a building block. Read-only.
Public property Value Returns or sets the contents of a building block. Read/write.

Top

See Also

Reference

BuildingBlock Interface

Microsoft.Office.Interop.Word Namespace