Megosztás a következőn keresztül:


Document.Range Method

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

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Function Range ( _
    ByRef Start As Object, _
    ByRef End As Object _
) As Range
Range Range(
    ref Object Start,
    ref Object End
)

Parameters

Return Value

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

Remarks

Optional Parameters

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

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace