Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_Document.Range Method

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

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim Start As Object
Dim End As Object
Dim returnValue As Range
Dim _Document1 As _Document
returnValue = _Document1.Range(Start, End)

Range Range(
	[In, Optional] ref object Start, 
	[In, Optional] ref object End
);
public Range Range(
	/*in*/System.Object Start, 
	/*in*/System.Object End
);
function Range(
	 Start : Object, 
	 End : Object
) : Range;

Parameters

Start

Optional Object. The starting character position.

End

Optional Object. The ending character position.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Anzeigen: