Expand Method
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Selection.Expand Method

Expands the specified selection.

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 selection. WdUnits.

Return Value

Type: System.Int32

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

Show:
© 2016 Microsoft