Share via


Font.FontStyle Property

Returns or sets the font style.

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

Syntax

'Declaration
Property FontStyle As Object
    Get
    Set
'Usage
Dim instance As Font
Dim value As Object

value = instance.FontStyle

instance.FontStyle = value
Object FontStyle { get; set; }

Property Value

Type: System.Object

Remarks

Changing this property may affect other Font object properties (such as Bold and Italic).

See Also

Reference

Font Interface

Font Members

Microsoft.Office.Interop.Excel Namespace