Edit

Share via


Word.Interfaces.BuildingBlockUpdateData interface

An interface for updating data on the BuildingBlock object, for use in buildingBlock.set({ ... }).

Properties

description

Specifies the description for the building block.

insertType

Specifies a DocPartInsertType value that represents how to insert the contents of the building block into the document.

name

Specifies the name of the building block.

value

Specifies the contents of the building block.

Property Details

description

Specifies the description for the building block.

description?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]

insertType

Specifies a DocPartInsertType value that represents how to insert the contents of the building block into the document.

insertType?: Word.DocPartInsertType | "Content" | "Paragraph" | "Page";

Property Value

Word.DocPartInsertType | "Content" | "Paragraph" | "Page"

Remarks

[ API set: WordApiDesktop 1.3 ]

name

Specifies the name of the building block.

name?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]

value

Specifies the contents of the building block.

value?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]