Options.PasteFormatWithinDocument Property
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.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property PasteFormatWithinDocument As WdPasteOptions
Get
Set
'Usage
Dim instance As Options
Dim value As WdPasteOptions
value = instance.PasteFormatWithinDocument
instance.PasteFormatWithinDocument = value
WdPasteOptions PasteFormatWithinDocument { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdPasteOptions
WdPasteOptions
Remarks
Corresponds to the Pasting within the same document option in the Advanced tab of the Word Options dialog box.