TextRetrievalMode.Duplicate Property

Returns a read-only TextRetrievalMode object that represents options related to retrieving text from the specified Range object.

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

Syntax

'Declaration
ReadOnly Property Duplicate As TextRetrievalMode
    Get
'Usage
Dim instance As TextRetrievalMode
Dim value As TextRetrievalMode

value = instance.Duplicate
TextRetrievalMode Duplicate { get; }

Property Value

Type: Microsoft.Office.Interop.Word.TextRetrievalMode

Remarks

You can use the Duplicate property to pick up the settings of all the properties of a duplicated Font, LetterContent, or ParagraphFormat object. You can assign the object returned by the Duplicate property to another object of the same type to apply those settings all at once. Before assigning the duplicate object to another object, you can change any of the properties of the duplicate object without affecting the original.

By duplicating a Range object, you can change the starting or ending character position of the duplicate range without changing the original range.

See Also

Reference

TextRetrievalMode Interface

TextRetrievalMode Members

Microsoft.Office.Interop.Word Namespace