Freigeben über


textDecorationUnderline property

Sets or retrieves whether the text in the object is underlined.

Syntax

Integer value = object.put_textDecorationUnderline(Boolean v);Integer value = object.get_textDecorationUnderline(Boolean* bUnderline);

Property values

Type: VARIANT_BOOL

VARIANT_TRUE (true)

Apply the underline.

VARIANT_FALSE (false)

Prevent the underline.

String format

|

CSS information

Applies To All elements
Media visual
Inherited no
Initial Value

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLRuleStyle::textDecoration