Fonts object (PowerPoint)

A collection of all the Font objects in the specified presentation.

Remarks

Each Font object represents a font that's used in the presentation.

Example

Use the Fonts property to return the Fonts collection. The following example displays the number of fonts used in the active presentation.

MsgBox ActivePresentation.Fonts.Count

Use Fonts (index), where index is the font's name or index number, to return a single Font object. The following example checks to see whether font one in the active presentation is embedded in the presentation.

If ActivePresentation.Fonts(1).Embedded = True Then 
    MsgBox "Font 1 is embedded"

See also

PowerPoint Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.