WebPageFont Object

Microsoft Office Object Model

WebPageFont Object

         
WebPageFonts (WebPageFont)

Represents the default font used when documents are saved as Web pages for a particular character set.

Using the WebPageFont Object

Use the WebPageFont object to describe the proportional font, proportional font size, fixed-width font, and fixed-width font size for any available character set.

The following character sets are supported.
msoCharacterSetArabic
msoCharacterSetCyrillic
msoCharacterSetEnglishWesternEuropeanOtherLatinScript
msoCharacterSetGreek
msoCharacterSetHebrew
msoCharacterSetJapanese
msoCharacterSetKorean
msoCharacterSetMultilingualUnicode
msoCharacterSetSimplifiedChinese
msoCharacterSetThai
msoCharacterSetTraditionalChinese
msoCharacterSetVietnamese

The following example sets the proportional font and proportional font size for the WebPageFont object myFont.

With myFont
    ProportionalFont = Verdana
    ProportionalFontSize = 14