Partager via


Font Interface

Contains the font attributes (font name, font size, color, and so on) for an object.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("0002084D-0000-0000-C000-000000000046")> _
Public Interface Font
'Usage
Dim instance As Font
[InterfaceTypeAttribute()]
[GuidAttribute("0002084D-0000-0000-C000-000000000046")]
public interface Font

Remarks

Use the Font property to return the Font object.

If you don’t want to format all the text in a cell or graphic the same way, use the Characters property to return a subset of the text.

See Also

Reference

Font Members

Microsoft.Office.Interop.Excel Namespace