Word.SelectionMoveUpDownOptions interface
Represents the options for the Selection.moveUp and Selection.moveDown methods.
Remarks
Properties
| count | If provided, specifies the number of units the selection is to be moved. The default value is 1. |
| extend | If provided, specifies the type of movement. The movement direction (up or down) is according to the calling method. If set to |
| unit | If provided, specifies the unit by which to move the selection. The default value is |
Property Details
count
If provided, specifies the number of units the selection is to be moved. The default value is 1.
count?: number;
Property Value
number
Remarks
extend
If provided, specifies the type of movement. The movement direction (up or down) is according to the calling method. If set to move, the selection is collapsed to the endpoint and moved in the appropriate direction. If set to extend, the selection is extended in the appropriate direction. The default value is move.
extend?: Word.MovementType | "Move" | "Extend";
Property Value
Word.MovementType | "Move" | "Extend"
Remarks
unit
If provided, specifies the unit by which to move the selection. The default value is line.
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
Property Value
Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item"