Edit

Share via


Word.Interfaces.EditorData interface

An interface describing the data returned by calling editor.toJSON().

Properties

id

Gets the identifier for the Editor object when the parent document is saved as a webpage.

name

Gets the name of the editor.

nextRange

Gets a Range object that represents the next range that the editor has permissions to modify.

range

Gets a Range object that represents the portion of the document that's contained in the Editor object.

Property Details

id

Gets the identifier for the Editor object when the parent document is saved as a webpage.

id?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.4 ]

name

Gets the name of the editor.

name?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.4 ]

nextRange

Gets a Range object that represents the next range that the editor has permissions to modify.

nextRange?: Word.Interfaces.RangeData;

Property Value

Remarks

[ API set: WordApiDesktop 1.4 ]

range

Gets a Range object that represents the portion of the document that's contained in the Editor object.

range?: Word.Interfaces.RangeData;

Property Value

Remarks

[ API set: WordApiDesktop 1.4 ]