Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

The IHTMLCurrentStyle2 interface has these properties.

PropertyDescription

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

Sets or retrieves the direction and flow of the content in the object.

scrollbar3dLightColor

Sets or retrieves the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.

scrollbarArrowColor

Sets or retrieves the color of the arrow elements of a scroll arrow.

scrollbarBaseColor

Sets or retrieves the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.

scrollbarDarkShadowColor

Sets or retrieves the color of the gutter of a scroll bar.

scrollbarFaceColor

Sets or retrieves the color of the scroll box and scroll arrows of a scroll bar.

scrollbarHighlightColor

Sets or retrieves the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.

scrollbarShadowColor

Sets or retrieves the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.

scrollbarTrackColor

Sets or retrieves the color of the track element of a scroll bar.

textAlignLast

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

textKashidaSpace

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

textUnderlinePosition

Sets or retrieves the position of the underline decoration that is set through the IHTMLRuleStyle::textDecoration property of the object.

wordWrap

Sets or retrieves 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

Sets or retrieves the magnification scale of the object.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference
IHTMLCurrentStyle
IHTMLCurrentStyle3
IHTMLCurrentStyle4

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.