F
Expand Minimize
This topic has not yet been rated - Rate this topic

FPHTMLFontElement Object

Office 2003
FPHTMLFontElement
Multiple objects

Represents a FONT element in an HTML document. See also the IHTMLFontElement object.

Using the FPHTMLFontElement Object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all FONT elements in a document. Use the Item method to return an FPHTMLFontElement object that accesses a specific FONT element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first FONT element in the active document.

    Dim objFont As FPHTMLFontElement

Set objFont = ActiveDocument.all.tags("font").Item(0)
  


Parent Objects



Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.