Share via


textDecorationLineThrough property

Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn through it.

Syntax

Integer value = object.put_textDecorationLineThrough(Boolean v);Integer value = object.get_textDecorationLineThrough(Boolean* bLineThrough);

Property values

Type: VARIANT_BOOL

VARIANT_TRUE (true)

Apply the line-through.

VARIANT_FALSE (false)

Prevent the line-through.

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

IHTMLStyle::textDecoration