Partager via


FontNames Interface

Represents a list of the names of all the available fonts.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("0002096F-0000-0000-C000-000000000046")> _
Public Interface FontNames _
    Inherits IEnumerable
'Usage
Dim instance As FontNames
[GuidAttribute("0002096F-0000-0000-C000-000000000046")]
public interface FontNames : IEnumerable

Remarks

Use the FontNames, LandscapeFontNames, or PortraitFontNames property to return the FontNames object.

Use FontNames(index), where index is the index number, to return the name of a font.

You cannot add names to or remove names from the list of available font names.

See Also

Reference

FontNames Members

Microsoft.Office.Interop.Word Namespace