Selection.Expand(Object) Method

Definition

Expands the specified selection.

public int Expand (ref object Unit);
abstract member Expand : obj -> int
Public Function Expand (Optional ByRef Unit As Object) As Integer

Parameters

Unit
Object

Optional Object. The unit by which to expand the selection. WdUnits.

Returns

Remarks

This method returns the number of characters added to the selection.

Applies to