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.

Community Additions

ADD
Show: