BuildingBlock Members

Office 2010

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.

  NameDescription
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

  NameDescription
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

Community Additions

ADD
Show:
© 2014 Microsoft