Edit

Share via


Word.ContentControlPlaceholderOptions interface

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The options that define what placeholder to be used in the content control.

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

Properties

buildingBlock

If provided, specifies the BuildingBlock object to use as placeholder.

range

If provided, specifies the Range object to use as placeholder.

text

If provided, specifies the text to use as placeholder.

Property Details

buildingBlock

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies the BuildingBlock object to use as placeholder.

buildingBlock?: Word.BuildingBlock;

Property Value

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

range

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies the Range object to use as placeholder.

range?: Word.Range;

Property Value

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

text

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies the text to use as placeholder.

text?: string;

Property Value

string

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]