WebPageFont.ProportionalFont Property (Office)

Sets or gets the proportional font setting in the host application. Read/write.

Syntax

expression. ProportionalFont

expression A variable that represents a WebPageFont object.

Remarks

When you set the ProportionalFont property, the host application does not check the value for validity.

Example

This example sets the proportional font and proportional font size for the English/Western European/Other Latin Script character set in the active application.

Application.DefaultWebOptions. _ 
Fonts(msoCharacterSetEnglishWesternEuropeanOtherLatinScript) _ 
.ProportionalFont = "Tahoma" 
Application.DefaultWebOptions. _ 
Fonts(msoCharacterSetEnglishWesternEuropeanOtherLatinScript) _ 
.ProportionalFontSize = 14.5

See also

WebPageFont Object

WebPageFont Object Members