Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Expands the specified selection.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Expand ( _
ByRef Unit As Object _
) As Integer
'Usage
Dim instance As Selection
Dim Unit As Object
Dim returnValue As Integer
returnValue = instance.Expand(Unit)
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
Remarks
This method returns the number of characters added to the selection.