Word.Interfaces.RangeUpdateData interface

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

Properties

font

Gets the text format of the range. Use this to get and set font name, size, color, and other properties.

style

Specifies the style name for the range. Use this property for custom styles and localized style names. To use the built-in styles that are portable between locales, see the "styleBuiltIn" property.

Property Details

font

Gets the text format of the range. Use this to get and set font name, size, color, and other properties.

font?: Word.Interfaces.FontUpdateData;

Property Value

Remarks

[ API set: WordApi 1.1 ]

style

Specifies the style name for the range. Use this property for custom styles and localized style names. To use the built-in styles that are portable between locales, see the "styleBuiltIn" property.

style?: string;

Property Value

string

Remarks

[ API set: WordApi 1.1 ]