_Font.Duplicate Property 

Returns a read-only Font object that represents the character formatting of the specified font.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim _Font1 As _Font

Dim returnValue As Font
returnValue = _Font1.Duplicate

Syntax

ReadOnly Property Duplicate() As Font
Font Duplicate {get;}
property Font^ Duplicate{
    Font^ get();
}
public Font get_Duplicate();
function get Duplicate() : Font;

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

_Font Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

_Font Members