Edit

Share via


Range.Expand(Object) Method

Definition

Expands the specified range.

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 range. Can be one of the WdUnits constants.

Returns

Remarks

This property returns the number of characters added to the range.

Applies to