FontSmoothing Property

 

Type: Boolean

 

Returns True if the user has checked the Smooth Edges of Screen Fonts option under Control Panel Display options. This option is often set by users to make screen fonts more readable. You may want to use this property in conjunction with the ColorDepth and screen size properties.

 

Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires either the Professional or Enterprise Edition of BrowserHawk.

 

Example:

<% set bhObj = Server.CreateObject("cyScape.browserObj")

bhObj.SetExtProperties "FontSmoothing"

bhObj.GetExtPropertiesEx

%>

<html> Font smoothing is:

<%

if bhObj.Browser = "IE" and bhObj.majorver >=5 and LCase(left(bhObj.Platform,3)) = "win" then

PropVal = bhObj.FontSmoothing

else

PropVal = "Not available with your browser/platform"

end if

response.write PropVal %>

</html>

 

Special notes for this property:

 

See Also:

FontColor Property

FontSize Property

TextSize Property

ColorDepth Property

GetExtPropertiesEx Method

SetExtProperties Method