Partager via


ChartFont Members

Include Protected Members
Include Inherited Members

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

The ChartFont type exposes the following members.

Properties

  Name Description
Public property Application When used without an object qualifier, returns an Application object that represents the Microsoft PowerPoint 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
Public property Background Returns or sets one of the XlBackground types for the text that is used in charts. Read/write.
Public property Bold Determines whether the character format is bold. Read/write.
Public property Color Returns or sets the primary color of the object. Read/write.
Public property ColorIndex Returns or sets the color of the font. Read/write.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.
Public property FontStyle Returns or sets the font style. Read/write.
Public property Italic Determines whether the character format is italic. Read/write.
Public property Name Returns or sets the name of the object. Read/write.
Public property OutlineFont Reserved for internal use.
Public property Parent Returns the parent for the specified object. Read-only.
Public property Shadow Reserved for internal use.
Public property Size Returns or sets the size of the font. Read/write.
Public property Strikethrough true if the font is struck through with a horizontal line. Read/write Boolean value.
Public property Subscript true if the font is formatted as subscript. The default is false. Read/write.
Public property Superscript true if the font is formatted as superscript. The default is false. Read/write.
Public property Underline Returns or sets the type of underline applied to the font. Can be one of the XlUnderlineStyle constants. Read/write.

Top

See Also

Reference

ChartFont Interface

Microsoft.Office.Interop.PowerPoint Namespace