Fonts collection

Microsoft Visio Developer Reference

Fonts collection

       Methods   Events

Documents (Document) Fonts (Font)

Includes a Font object for each font applied to text in a document or available on the system.

To retrieve a Fonts collection, use the Fonts property of a Document object.

Version added

4.0

Remarks

The default property of a Fonts collection is Item.

To retrieve a Font object by its font ID (the value shown in the Font cell in a shape's Character section), use the ItemFromID property.