ChartFont Members (Word)

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

Properties

Name

Description

Application

When used without an object qualifier, returns an Application object that represents the Microsoft Word application. When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an 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 that 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. Read/write Variant.

ColorIndex

Returns or sets the color of the font. Read/write Variant.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

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 the name of the object. Read/write String.

Parent

Returns the parent for the specified object. Read-only Object.

Size

Returns or sets the size of the font. Read/write Variant.

StrikeThrough

True if the font is struck through with a horizontal line. Read/write Boolean.

Subscript

True if the font is formatted as subscript. The default is False. Read/write Variant.

Superscript

True if the font is formatted as superscript. The default is False. Read/write Variant.

Underline

Returns or sets the type of underline applied to the font. Can be one of the XlUnderlineStyle constants. Read/write Variant.