MSHTML Classes: CStyleSheet

Identifiers

coclass: HTMLStyleSheet {3050F2E4-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface DispHTMLStyleSheet {3050F58D-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CStyleSheet class exposes as properties through its string table.

Property Interface Member
addImport IHTMLStyleSheet addImport
addPageRule IHTMLStyleSheet2 addPageRule
addRule IHTMLStyleSheet addRule
cssText IHTMLStyleSheet get_cssText
put_cssText
disabled IHTMLStyleSheet get_disabled
put_disabled
href IHTMLStyleSheet get_href
put_href
id IHTMLStyleSheet get_id
imports IHTMLStyleSheet get_imports
media IHTMLStyleSheet get_media
put_media
owningElement IHTMLStyleSheet get_owningElement
pages IHTMLStyleSheet2 get_pages
parentStyleSheet IHTMLStyleSheet get_parentStyleSheet
readOnly IHTMLStyleSheet get_readOnly
removeImport IHTMLStyleSheet removeImport
removeRule IHTMLStyleSheet removeRule
rules IHTMLStyleSheet get_rules
title IHTMLStyleSheet get_title
put_title
type IHTMLStyleSheet get_type