Font Object Members
Excel Developer Reference |
Contains the font attributes (font name, font size, color, and so on) for an object.
Properties
Name | Description | |
---|---|---|
Application | When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only. | |
Background | Returns or sets the type of background for text used in charts. Read/write Variant which is set to one of the constants of XlBackground. | |
Bold | True if the font is bold. Read/write Variant. | |
Color | Returns or sets the primary color of the object, as shown in the table in the remarks section. Use the RGB function to create a color value. Read/write Variant. | |
ColorIndex | Returns or sets a Variant value that represents the color of the font. | |
FontStyle | Returns or sets the font style. Read/write String. | |
Italic | True if the font style is italic. Read/write Boolean. | |
Name | Returns or sets a Variant value that represents the name of the object. | |
Parent | Returns the parent object for the specified object. Read-only. | |
Size | Read/write | |
Strikethrough | True if the font is struck through with a horizontal line. Read/write Boolean. | |
Subscript | True if the font is formatted as subscript. False by default. Read/write Variant. | |
Superscript | True if the font is formatted as superscript; False by default. Read/write Variant. | |
ThemeColor | Read/write | |
ThemeFont | Read/write | |
TintAndShade | Read/write | |
Underline | Returns or sets the type of underline applied to the font. Can be one of the following XlUnderlineStyle constants. Read/write Variant. |