Options.PasteFormatWithinDocument Property

Definition

Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied or cut and then pasted in the same document. Read/write.

public:
 property Microsoft::Office::Interop::Word::WdPasteOptions PasteFormatWithinDocument { Microsoft::Office::Interop::Word::WdPasteOptions get(); void set(Microsoft::Office::Interop::Word::WdPasteOptions value); };
public Microsoft.Office.Interop.Word.WdPasteOptions PasteFormatWithinDocument { get; set; }
member this.PasteFormatWithinDocument : Microsoft.Office.Interop.Word.WdPasteOptions with get, set
Public Property PasteFormatWithinDocument As WdPasteOptions

Property Value

WdPasteOptions

Remarks

Corresponds to the Pasting within the same document option in the Advanced tab of the Word Options dialog box.

Applies to