共用方式為


IHTMLRenderStyle interface

This interface controls the appearance of the object while it is rendered and retrieves information about the appearance of a rendered object.

Members

The IHTMLRenderStyle interface inherits from the IDispatch interface. IHTMLRenderStyle also has these types of members:

  • Properties

Properties

The IHTMLRenderStyle interface has these properties.

Property Description

defaultTextSelection

Sets or retrieves whether to use the default text selection style and ignore all other properties of the IHTMLRenderStyle interface.

renderingPriority

Sets or retrieves the weight, or importance, of a style rule when a conflict occurs.

textBackgroundColor

Sets or retrieves the color behind the text in the object.

textColor

Sets or retrieves the color of the text in the object.

textDecoration

Sets or retrieves whether the text in the object renders with a line-through, overline, or underline decoration.

textDecorationColor

Sets or retrieves the color of the line-through, overline, or underline decorations of the object.

textEffect

textLineThroughStyle

Sets or retrieves the appearance of the line-through decoration of the object.

textUnderlineStyle

Sets or retrieves the appearance of the underline decoration of the object.

 

Remarks

You can obtain a pointer to an IHTMLRenderStyle interface by calling IHTMLDocument4::createRenderStyle.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch