TextRetrievalMode.Duplicate Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::TextRetrievalMode ^ Duplicate { Microsoft::Office::Interop::Word::TextRetrievalMode ^ get(); };
public Microsoft.Office.Interop.Word.TextRetrievalMode Duplicate { get; }
member this.Duplicate : Microsoft.Office.Interop.Word.TextRetrievalMode
Public ReadOnly Property Duplicate As TextRetrievalMode

Property Value

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.

Applies to