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)