Edit

Share via


Word.Interfaces.SelectionUpdateData interface

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

Properties

end

Specifies the ending character position of the selection.

fitTextWidth

Specifies the width in which Word fits the text in the current selection.

isColumnSelectModeActive

Specifies whether column selection mode is active.

isExtendModeActive

Specifies whether Extend mode is active.

isStartActive

Specifies whether the beginning of the selection is active.

languageDetected

Specifies whether Word has detected the language of the selected text.

orientation

Specifies the orientation of text in the selection.

start

Specifies the starting character position of the selection.

text

Specifies the text in the selection.

Property Details

end

Specifies the ending character position of the selection.

end?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.4 ]

fitTextWidth

Specifies the width in which Word fits the text in the current selection.

fitTextWidth?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.4 ]

isColumnSelectModeActive

Specifies whether column selection mode is active.

isColumnSelectModeActive?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isExtendModeActive

Specifies whether Extend mode is active.

isExtendModeActive?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isStartActive

Specifies whether the beginning of the selection is active.

isStartActive?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

languageDetected

Specifies whether Word has detected the language of the selected text.

languageDetected?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

orientation

Specifies the orientation of text in the selection.

orientation?: Word.TextOrientation | "Horizontal" | "Upward" | "Downward" | "VerticalFarEast" | "HorizontalRotatedFarEast" | "Vertical";

Property Value

Word.TextOrientation | "Horizontal" | "Upward" | "Downward" | "VerticalFarEast" | "HorizontalRotatedFarEast" | "Vertical"

Remarks

[ API set: WordApiDesktop 1.4 ]

start

Specifies the starting character position of the selection.

start?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.4 ]

text

Specifies the text in the selection.

text?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.4 ]