Range.Expand method

Expands the specified range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

int Expand(
	ref Object Unit
)

Parameters

Unit
Type: System.Object

Optional Object. The unit by which to expand the range. Can be one of the WdUnits constants.

Return value

Type: System.Int32

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

Show: