Share via


_ParagraphFormat.Duplicate Property

Returns a read-only _ParagraphFormat object that represents the paragraph formatting of the specified paragraph.

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

Syntax

'Declaration
ReadOnly Property Duplicate As ParagraphFormat
    Get
'Usage
Dim instance As _ParagraphFormat
Dim value As ParagraphFormat

value = instance.Duplicate
ParagraphFormat Duplicate { get; }

Property Value

Type: Microsoft.Office.Interop.Word.ParagraphFormat

Remarks

You can use the Duplicate property to pick up the settings of all the properties of a duplicated 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.

See Also

Reference

_ParagraphFormat Interface

_ParagraphFormat Members

Microsoft.Office.Interop.Word Namespace