TitleFont Property

TitleFont returns the title font format object for the title font format object. Returns a FontFormat object. This is a read-only property.

Syntax

object.TitleFont

Parameter

Type

Description

TitleFont

IFontFormat

Returns the title font format object for the title text.

Example 1

This example demonstrates how to return the face of an axis title.

Debug.Print Axis.TitleFont.Face

Example 2

This example demonstrates how to italicize a legend title.

Legend.TitleFont.Italic = True

Example 3

This example shows how to set the title font of the scale label.

scale.TitleFont.Bold = True

scale.TitleFont.Size = 20

Used by: Axis object, ColorScale object, Legend object, Profile Object, ScaleBar object, Variogram object