TextRetrievalMode.Duplicate TextRetrievalMode.Duplicate TextRetrievalMode.Duplicate Property


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

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


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