Font Property

The Font property contains information about the font used for text in the address field.


    document.all["id_name"].Font [=IFontDisp]
Possible Values
    IFontDisp that specifies or retrieves the font used for the text.

    The property is read/write.
    Since the Font property is an IFontDisp interface, access to the properties of the interface is possible. They are as follows:
    Name, Size, Bold, Italic, Underline, Strikethrough, Weight, and Charset.
    The following example shows the FontName property when the link is clicked.

    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    <OBJECT ID="URLComboBox" width="300" height="22px"
      <PARAM NAME="BackColor" value="16777215">
      <PARAM NAME="FontName" VALUE="Tahoma">
      <PARAM NAME="FontSize" VALUE="8.00">
      <PARAM NAME="FontBold" VALUE="0">
      <PARAM NAME="FontItalic" VALUE="0">
      <PARAM NAME="ForeColor" VALUE="65280">
    <a href="javascript:ShowProp()">Show FontName property</a>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top