MSHTML Classes: CRenderStyle

Instances of the CRenderStyle class are created by the document object’s createRenderStyle method.

Identifiers

coclass: HTMLRenderStyle {3050F6AA-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLRenderStyle {3050F58B-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CRenderStyle class exposes as properties (methods, collections, etc) through its string table. Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted.

Property Attribute Interface Member
defaultTextSelection DEFAULT-TEXT-SELECTION IHTMLRenderStyle get_defaultTextSelection
put_defaultTextSelection
renderingPriority RENDERING-PRIORITY IHTMLRenderStyle get_renderingPriority
put_renderingPriority
textBackgroundColor TEXT-BACKGROUND-COLOR IHTMLRenderStyle get_textBackgroundColor
put_textBackgroundcolor
textColor TEXT-COLOR IHTMLRenderStyle get_textColor
put_textColor
textDecoration TEXT-DECORATION IHTMLRenderStyle get_textDecoration
put_textDecoration
textDecorationColor TEXT-DECORATION-COLOR IHTMLRenderStyle get_textDecorationColor
put_textDecorationColor
textEffect TEXT-EFFECT IHTMLRenderStyle get_textEffect
put_textEffect
textLineThroughStyle TEXT-LINE-THROUGH IHTMLRenderStyle get_textLineThroughStyle
put_textLineThroughStyle
textUnderlineStyle TEXT-UNDERLINE-STYLE IHTMLRenderStyle get_textUnderlineStyle
put_textUnderlineStyle