Document.Range Method (Object, Object)

 

Returns a Microsoft.Office.Interop.Word.Range by using the specified starting and ending character positions.

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

Range Range(
	ref object Start,
	ref object End
)

Parameters

Start
Type: System.Object

The starting character position.

End
Type: System.Object

The ending character position.

Return Value

Type: Microsoft.Office.Interop.Word.Range

A Microsoft.Office.Interop.Word.Range that uses the specified starting and ending character positions.

For information on optional parameters, see Optional Parameters in Office Solutions.

Return to top
Show: