全部显示

VisualSelection 属性

       

该属性返回或设置选定行为,该行为基于从右向左语言文档中的可视光标移动。WdVisualSelection,可读写。

expression.VisualSelection

expression   必需。该表达式返回一个 Options 对象。

说明

必须将 CursorMovement 属性设为 wdCursorMovementVisual,才可使用该属性。

有关在 Word 中使用从右向左语言的详细信息,请参阅用于从右向左语言的 Word 功能

示例

本示例设置选定行为,使所选内容换行。

If Options.CursorMovement = wdCursorMovementVisual Then _
    Options.VisualSelection = wdVisualSelectionContinuous