共用方式為


Document.Range(Object, Object) Method

Definition

Returns a Range by using the specified starting and ending character positions.

public Microsoft.Office.Interop.Word.Range Range (ref object Start, ref object End);
abstract member Range : obj * obj -> Microsoft.Office.Interop.Word.Range
Public Function Range (Optional ByRef Start As Object, Optional ByRef End As Object) As Range

Parameters

Start
Object

The starting character position.

End
Object

The ending character position.

Returns

A Range that uses the specified starting and ending character positions.

Remarks

Optional Parameters

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

Applies to