Word.SelectionPreviousOptions interface

表示 Selection.previous 方法的选项。

注解

[ API 集:WordApiDesktop 1.4 ]

属性

count

如果提供,则指定要移动的单位数。 默认值为 1。

unit

如果提供,则指定移动所选内容的单位类型。 默认值 character为 。

属性详细信息

count

如果提供,则指定要移动的单位数。 默认值为 1。

count?: number;

属性值

number

注解

[ API 集:WordApiDesktop 1.4 ]

unit

如果提供,则指定移动所选内容的单位类型。 默认值 character为 。

unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";

属性值

Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item"

注解

[ API 集:WordApiDesktop 1.4 ]