IHTMLCurrentStyle2 interface

Enables you to programmatically access the style properties of an element.

Members

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

  • Properties

Properties

The IHTMLCurrentStyle2 interface has these properties.

Property Description

filter

Sets or retrieves the filter or collection of filters that are applied to the object.

hasLayout

Gets a value that indicates whether the object has layout.

isBlock

Gets a value that indicates whether the object is a block-level object.

layoutFlow

Specifies the direction and flow of the content in the object.

scrollbar3dLightColor

Specifies the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.

scrollbarArrowColor

Specifies the color of the arrow elements of a scroll arrow.

scrollbarBaseColor

Specifies the base color of the main elements of a scroll bar.

scrollbarDarkShadowColor

Specifies the color of the gutter of a scroll bar.

scrollbarFaceColor

Specifies the color of the scroll box and scroll arrows of a scroll bar.

scrollbarHighlightColor

Specifies the color of the slider tray, and the top and left edges of the scroll box and scroll arrows of a scroll bar.

scrollbarShadowColor

Specifies the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.

scrollbarTrackColor

Specifies the color of the track element of a scroll bar.

textAlignLast

Specifies a value that indicates how to align the last line or only line of text in the specified object.

textKashidaSpace

Deprecated. Specifies the ratio of kashida expansion to white space expansion when justifying lines of text in the object.

textUnderlinePosition

Specifies the position of the underline decoration that is set through the IHTMLRuleStyle::textDecoration property of the object.

wordWrap

Specifies whether to break words when the content exceeds the boundaries of its container.

writingMode

Specifies the direction and flow of the content in the object.

zoom

Specifies the magnification scale of the object.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLCurrentStyle

IHTMLCurrentStyle3

IHTMLCurrentStyle4