FPHTMLStyleSheet Object
FPHTMLStyleSheet Multiple objects |
Represents a cascading style sheet reference in an HTML document. See also the IHTMLStyleSheet object.
Using the FPHTMLStyleSheet object
Use the styleSheets property to return an FPHTMLStyleSheetsCollection collection that represents a collection of all the cascading style sheets referenced in a document. Use the Item method to return an FPHTMLStyleSheet object that accesses a specific cascading style sheet, referenced by ordinal number or by the value of the id attribute. The following example accesses the first cascading style sheet in the active document.
Dim objStyleSheet As FPHTMLStyleSheet
Set objStyleSheet = ActiveDocument.styleSheets.Item(0)
Properties | cssText Property | disabled Property | href Property | id Property | imports Property | media Property | owningElement Property | parentStyleSheet Property | readOnly Property | rules Property | title Property | Type Property
Methods | addImport Method | addRule Method | removeImport Method | removeRule Method
Parent Objects
Child Objects | IHTMLElement Object | IHTMLStyleSheet Object | IHTMLStyleSheetRulesCollection Object | IHTMLStyleSheetsCollection Object