示例#1
0
        private void SelectionMoveDown(WdUnits unit, int count, WdMovementType extend)

        {
            RunRoutine(__WordSelection, "MoveDown", new object[3] {
                (int)unit, count, (int)extend
            });
        }
示例#2
0
        private void SelectionEndKey(WdUnits unit, WdMovementType extend)

        {
            RunRoutine(__WordSelection, "EndKey", new object[2] {
                (int)unit, (int)extend
            });
        }
示例#3
0
 /// <summary>
 /// Simulates pressing the up arrow key.
 /// </summary>
 /// <param name="unit">Unit to select on</param>
 /// <param name="count">number of presses</param>
 /// <param name="extend">Movement type</param>
 /// <history>
 /// [Curtis_Beard]      07/28/2006  Created
 /// </history>
 private void SelectionMoveUp(WdUnits unit, int count, WdMovementType extend)
 {
     RunRoutine(__WordSelection, "MoveUp", new object[3] { (int)unit, count, (int)extend });
 }
示例#4
0
 /// <summary>
 /// Simulates pressing the home key.
 /// </summary>
 /// <param name="unit">Unit to select on</param>
 /// <param name="extend">Movement type</param>
 /// <history>
 /// [Curtis_Beard]      07/28/2006  Created
 /// </history>
 private void SelectionHomeKey(WdUnits unit, WdMovementType extend)
 {
     RunRoutine(__WordSelection, "HomeKey", new object[2] { (int)unit, (int)extend });
 }