Share via


Selection.Font Property

Returns or sets a Font object that represents the character formatting of the specified object.

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

Syntax

'Declaration
Property Font As Font
    Get
    Set
'Usage
Dim instance As Selection
Dim value As Font

value = instance.Font

instance.Font = value
Font Font { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.Font

Remarks

To set this property, specify an expression that returns a Font object.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace