WebPageFonts.Item property (Office)
Gets a WebPageFont object from the WebPageFonts collection for a particular value of MsoCharacterSet. Read-only.
Syntax
expression.Item(Index)
expression Required. A variable that represents a WebPageFonts object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Required | MsoCharacterSet | The specified character set. |
Example
The following example uses the Item property to set "myFont" to the WebPageFont object for the English/Western European/Other Latin Script character set in the active application.
Dim myFont As WebPageFont
Set myFont = _
Application.DefaultWebOptions.Fonts. _
Item(msoCharacterSetEnglishWesternEuropeanOtherLatinScript)
See also
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.