Table of contents
TOC
Collapse the table of content
Expand the table of content

WebPageFonts.Item Property (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData TypeDescription
IndexRequiredMsoCharacterSetThe 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

Concepts

WebPageFonts Object

Other resources

WebPageFonts Object Members

© 2018 Microsoft