Word.Interfaces.BuildingBlockLoadOptions interface
Represents a building block in a template. A building block is pre-built content, similar to autotext, that may contain text, images, and formatting.
Remarks
Properties
| $all | Specifying |
| category | Returns a |
| description | Specifies the description for the building block. |
| id | Returns the internal identification number for the building block. |
| index | Returns the position of this building block in a collection. |
| insert |
Specifies a |
| name | Specifies the name of the building block. |
| type | Returns a |
| value | Specifies the contents of the building block. |
Property Details
$all
Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).
$all?: boolean;
Property Value
boolean
category
Returns a BuildingBlockCategory object that represents the category for the building block.
category?: Word.Interfaces.BuildingBlockCategoryLoadOptions;
Property Value
Remarks
description
Specifies the description for the building block.
description?: boolean;
Property Value
boolean
Remarks
id
Returns the internal identification number for the building block.
id?: boolean;
Property Value
boolean
Remarks
index
Returns the position of this building block in a collection.
index?: boolean;
Property Value
boolean
Remarks
insertType
Specifies a DocPartInsertType value that represents how to insert the contents of the building block into the document.
insertType?: boolean;
Property Value
boolean
Remarks
name
Specifies the name of the building block.
name?: boolean;
Property Value
boolean
Remarks
type
Returns a BuildingBlockTypeItem object that represents the type for the building block.
type?: Word.Interfaces.BuildingBlockTypeItemLoadOptions;
Property Value
Remarks
value
Specifies the contents of the building block.
value?: boolean;
Property Value
boolean