Font Name (Property)

Applies To:

Font object

Description:

Returns or sets the font name for text associated with font objects.

Action:

Read-write, String

Constants:

The font name constants are the available font names. For example:

Example:

This example shows how to set the default font name for data values in a Pivot section to Times New Roman, and how to set the default font name for a Pivot section label to Courier New:

DefaultFormats.Pivot.DataValues.Font.Name="Times New Roman"
DefaultFormats.Pivot.Labels.Font.Name="Courier New"