共用方式為


defaultTextSelection property

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

Syntax

HRESULT value = object.put_defaultTextSelection(BSTR v);HRESULT value = object.get_defaultTextSelection(BSTR* p);

Property values

Type: BSTR

One of the values in the Property Values section.

Remarks

When this property is set to true, the default text selection style is used and properties of the IHTMLRenderStyle interface are ignored.

The purpose of the IHTMLRenderStyle::defaultTextSelection property is to support the standard default text selection style.