包含指定對(duì)象的字體屬性(字體名稱、字體大小和顏色等)。
可用 Font 屬性返回 Font 對(duì)象。下例設(shè)置數(shù)值軸標(biāo)題的文字,并將字體設(shè)置為 10 磅的 Bookman,然后將單詞“millions”設(shè)置為傾斜。
With myChart.Axes(xlValue)
.HasTitle = True
With .AxisTitle
.Caption = "Revenue (millions)"
.Font.Name = "bookman"
.Font.Size = 10
.Characters(10, 8).Font.Italic = True
End With