Geoff Chappell - Software Analyst
[ uuid (3050F499-98B5-11CF-BB82-00AA00BDCE0B) ] class CStyle { };
The CStyle class is one of a handful that MSHTML exposes through its DllGetClassObject function. Instances can therefore be created by anyone who knows the CLSID, using such well-documented COM functions as CoCreateInstance.
coclass: | HTMLStyle | {3050F285-98B5-11CF-BB82-00AA00BDCE0B} |
dispinterface: | DispHTMLStyle | {3050F55A-98B5-11CF-BB82-00AA00BDCE0B} |
The table below lists the interface members that the CStyle class exposes as properties (methods, collections, etc) through its string table. Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted.
Property | Attribute | Interface | Member |
---|---|---|---|
accelerator | ACCELERATOR | IHTMLStyle2 | get_accelerator put_accelerator |
background | BACKGROUND | IHTMLStyle | get_background put_background |
backgroundAttachment | BACKGROUND-ATTACHMENT | IHTMLStyle | get_backgroundAttachment put_backgroundAttachment |
backgroundColor | BACKGROUND-COLOR | IHTMLStyle | get_backgroundColor put_backgroundColor |
backgroundImage | BACKGROUND-IMAGE | IHTMLStyle | get_backgroundImage put_backgroundImage |
backgroundPosition | BACKGROUND-POSITION | IHTMLStyle | get_backgroundPosition put_backgroundPosition |
backgroundPositionX | BACKGROUND-POSITION-X | IHTMLStyle | get_backgroundPositionX put_backgroundPositionX |
backgroundPositionY | BACKGROUND-POSITION-Y | IHTMLStyle | get_backgroundPositionY put_backgroundPositionY |
backgroundRepeat | BACKGROUND-REPEAT | IHTMLStyle | get_backgroundRepeat put_backgroundRepeat |
behavior | BEHAVIOR | IHTMLStyle2 | get_behavior put_behavior |
border | BORDER | IHTMLStyle | get_border put_border |
borderBottom | BORDER-BOTTOM | IHTMLStyle | get_borderBottom put_borderBottom |
borderBottomColor | BORDER-BOTTOM-COLOR | IHTMLStyle | get_borderBottomColor put_borderBottomColor |
borderBottomStyle | BORDER-BOTTOM-STYLE | IHTMLStyle | get_borderBottomStyle put_borderBottomStyle |
borderBottomWidth | BORDER-BOTTOM-WIDTH | IHTMLStyle | get_borderBottomWidth put_borderBottomWidth |
borderCollapse | BORDER-COLLAPSE | IHTMLStyle2 | get_borderCollapse put_borderCollapse |
borderColor | BORDER-COLOR | IHTMLStyle | get_borderColor put_borderColor |
borderLeft | BORDER-LEFT | IHTMLStyle | get_borderLeft put_borderLeft |
borderLeftColor | BORDER-LEFT-COLOR | IHTMLStyle | get_borderLeftColor put_borderLeftColor |
borderLeftStyle | BORDER-LEFT-STYLE | IHTMLStyle | get_borderLeftStyle put_borderLeftStyle |
borderLeftWidth | BORDER-LEFT-WIDTH | IHTMLStyle | get_borderLeftWidth put_borderLeftWidth |
borderRight | BORDER-RIGHT | IHTMLStyle | get_borderRight put_borderRight |
borderRightColor | BORDER-RIGHT-COLOR | IHTMLStyle | get_borderRightColor put_borderRightColor |
borderRightStyle | BORDER-RIGHT-STYLE | IHTMLStyle | get_borderRightStyle put_borderRightStyle |
borderRightWidth | BORDER-RIGHT-WIDTH | IHTMLStyle | get_borderRightWidth put_borderRightWidth |
borderStyle | BORDER-STYLE | IHTMLStyle | get_borderStyle put_borderStyle |
borderTop | BORDER-TOP | IHTMLStyle | get_borderTop put_borderTop |
borderTopColor | BORDER-TOP-COLOR | IHTMLStyle | get_borderTopColor put_borderTopColor |
borderTopStyle | BORDER-TOP-STYLE | IHTMLStyle | get_borderTopStyle put_borderTopStyle |
borderTopWidth | BORDER-TOP-WIDTH | IHTMLStyle | get_borderTopWidth put_borderTopWidth |
borderWidth | BORDER-WIDTH | IHTMLStyle | get_borderWidth put_boderWidth |
bottom | BOTTOM | IHTMLStyle2 | get_bottom put_bottom |
clear | CLEAR | IHTMLStyle | get_clear put_clear |
clip | CLIP | IHTMLStyle | get_clip put_clip |
clipBottom | |||
clipLeft | |||
clipRight | |||
clipTop | |||
color | COLOR | IHTMLStyle | get_color put_color |
cssText | cssText | IHTMLStyle | get_cssText put_cssText |
cursor | CURSOR | IHTMLStyle | get_cursor put_cursor |
direction | DIRECTION | IHTMLStyle2 | get_direction put_direction |
display | DISPLAY | IHTMLStyle | get_display put_display |
filter | FILTER | IHTMLStyle | get_filter put_filter |
font | FONT | IHTMLStyle | get_font put_font |
fontFamily | FONT-FAMILY | IHTMLStyle | get_fontFamily put_fontFamily |
fontSize | FONT-SIZE | IHTMLStyle | get_fontSize put_fontSize |
fontStyle | FONT-STYLE | IHTMLStyle | get_fontStyle put_fontStyle |
fontVariant | FONT-VARIANT | IHTMLStyle | get_fontVariant put_fontVariant |
fontWeight | FONT-WEIGHT | IHTMLStyle | get_fontWeight put_fontWeight |
getAttribute | IHTMLStyle | getAttribute | |
getExpression | IHTMLStyle2 | getExpression | |
height | HEIGHT | IHTMLStyle | get_height put_height |
imeMode | IME-MODE | IHTMLStyle2 | get_imeMode put_imeMode |
layoutFlow | LAYOUT-FLOW | IHTMLStyle3 | get_layoutFlow put_layoutFlow |
layoutGrid | LAYOUT-GRID | IHTMLStyle2 | get_layoutGrid put_layoutGrid |
layoutGridChar | LAYOUT-GRID-CHAR | IHTMLStyle2 | get_layoutGridChar put_layoutGridChar |
layoutGridLine | LAYOUT-GRID-LINE | IHTMLStyle2 | get_layoutGridLine put_layoutGridLine |
layoutGridMode | LAYOUT-GRID-MODE | IHTMLStyle2 | get_layoutGridMode put_layoutGridMode |
layoutGridType | LAYOUT-GRID-TYPE | IHTMLStyle2 | get_layoutGridType put_layoutGridType |
left | LEFT | IHTMLStyle | get_left put_left |
letterSpacing | LETTER-SPACING | IHTMLStyle | get_letterSpacing put_letterSpacing |
lineBreak | LINE-BREAK | IHTMLStyle2 | get_lineBreak put_lineBreak |
lineHeight | LINE-HEIGHT | IHTMLStyle | get_lineHeight put_lineHeight |
listStyle | LIST-STYLE | IHTMLStyle | get_listStyle put_listStyle |
listStyleImage | LIST-STYLE-IMAGE | IHTMLStyle | get_listStyleImage put_listStyleImage |
listStylePosition | LIST-STYLE-POSITION | IHTMLStyle | get_listStylePosition put_listStylePosition |
listStyleType | LIST-STYLE-TYPE | IHTMLStyle | get_listStyleType put_listStyleType |
margin | MARGIN | IHTMLStyle | get_margin put_margin |
marginBottom | MARGIN-BOTTOM | IHTMLStyle | get_marginBottom put_marginBottom |
marginLeft | MARGIN-LEFT | IHTMLStyle | get_marginLeft put_marginLeft |
marginRight | MARGIN-RIGHT | IHTMLStyle | get_marginRight put_marginRight |
marginTop | MARGIN-TOP | IHTMLStyle | get_marginTop put_marginTop |
maxHeight | MAX-HEIGHT | IHTMLStyle5 | get_maxHeight put_maxHeight |
maxWidth | MAX-WIDTH | IHTMLStyle5 | get_maxWidth put_maxWidth |
minHeight | MIN-HEIGHT | IHTMLStyle4 | get_minHeight put_minHeight |
minWidth | MIN-WIDTH | IHTMLStyle5 | get_minWidth put_minWidth |
msInterpolationMode | -MS-INTERPOLATION-MODE | IHTMLStyle5 | get_msInterpolationMode put_msInterpolationMode |
overflow | OVERFLOW | IHTMLStyle | get_overflow put_overflow |
overflowX | OVERFLOW-X | IHTMLStyle2 | get_overflowX put_overflowX |
overlowY | OVERFLOW-Y | IHTMLStyle2 | get_overflowY put_overflowY |
padding | PADDING | IHTMLStyle | get_padding put_padding |
paddingBottom | PADDING-BOTTOM | IHTMLStyle | get_paddingBottom put_paddingBottom |
paddingLeft | PADDING-LEFT | IHTMLStyle | get_paddingLeft put_paddingLeft |
paddingRight | PADDING-RIGHT | IHTMLStyle | get_paddingRight put_paddingRight |
paddingTop | PADDING-TOP | IHTMLStyle | get_paddingTop put_paddingTop |
pageBreakAfter | PAGE-BREAK-AFTER | IHTMLStyle | get_pageBreakAfter put_pageBreakAfter |
pageBreakBefore | PAGE-BREAK-BEFORE | IHTMLStyle | get_pageBreakBefore put_pageBreakBefore |
pixelBottom | IHTMLStyle2 | get_pixelBottom put_pixelBottom |
|
pixelHeight | IHTMLStyle | get_pixelHeight put_pixelHeight |
|
pixelLeft | IHTMLStyle | get_pixelLeft put_pixelLeft |
|
pixelRight | IHTMLStyle2 | get_pixelRight put_pixelRight |
|
pixelTop | IHTMLStyle | get_pixelTop put_pixelTop |
|
pixelWidth | IHTMLStyle | get_pixelWidth put_pixelWidth |
|
posBottom | IHTMLStyle2 | get_posBottom put_posBottom |
|
posHeight | IHTMLStyle | get_posHeight put_posHeight |
|
position | POSITION | IHTMLStyle2 | get_position put_position |
posLeft | IHTMLStyle | get_posLeft put_posLeft |
|
posRight | IHTMLStyle2 | get_posRight put_posRight |
|
posTop | IHTMLStyle | get_posTop put_posTop |
|
posWidth | IHTMLStyle | get_posWidth put_posWidth |
|
removeAttribute | IHTMLStyle | removeAttribute | |
removeExpression | IHTMLStyle2 | removeExpression | |
right | RIGHT | IHTMLStyle2 | get_right put_right |
rubyAlign | RUBY-ALIGN | IHTMLStyle2 | get_rubyAlign put_rubyAlign |
rubyOverhang | RUBY-OVERHANG | IHTMLStyle2 | get_rubyOverhang put_rubyOverhang |
rubyPosition | RUBY-POSITION | IHTMLStyle2 | get_rubyPosition put_rubyPosition |
scrollbar3dLightColor | SCROLLBAR-3DLIGHT-COLOR | IHTMLStyle3 | get_scrollbar3dLightColor put_scrollbar3dLightColor |
scrollbarArrowColor | SCROLLBAR-ARROW-COLOR | IHTMLStyle3 | get_scrollbarArrowColor put_scrollbarArrowColor |
scrollbarBaseColor | SCROLLBAR-BASE-COLOR | IHTMLStyle3 | get_scrollbarBaseColor put_scrollbarBaseColor |
scrollbarDarkShadowColor | SCROLLBAR-DARKSHADOW-COLOR | IHTMLStyle3 | get_scrollbarDarkShadowColor put_scrollbarDarkShadowColor |
scrollbarFaceColor | SCROLLBAR-FACE-COLOR | IHTMLStyle3 | get_scrollbarFaceColor put_scrollbarFaceColor |
scrollbarHighlightColor | SCROLLBAR-HIGHLIGHT-COLOR | IHTMLStyle3 | get_scrollbarHighlightColor put_scrollbarHighlightColor |
scrollbarShadowColor | SCROLLBAR-SHADOW-COLOR | IHTMLStyle3 | get_scrollbarShadowColor put_scrollbarShadowColor |
scrollbarTrackColor | SCROLLBAR-TRACK-COLOR | IHTMLStyle3 | get_scrollbarTrackColor put_scrollbarTrackColor |
setAttribute | IHTMLStyle | setAttribute | |
setExpression | IHTMLStyle2 | setExpression | |
styleFloat | FLOAT | IHTMLStyle | get_styleFloat put_styleFloat |
tableLayout | TABLE-LAYOUT | IHTMLStyle2 | get_tableLayout put_tableLayout |
textAlign | TEXT-ALIGN | IHTMLStyle | get_textAlign put_textAlign |
textAlignLast | TEXT-ALIGN-LAST | IHTMLStyle3 | get_textAlignLast put_textAlignLast |
textAutospace | TEXT-AUTOSPACE | IHTMLStyle2 | get_textAutospace put_textAutospace |
textDecoration | TEXT-DECORATION | IHTMLStyle | get_textDecoration put_textDecoration |
textDecorationBlink | textDecorationBlink | IHTMLStyle | get_textDecorationBlink put_textDecorationBlink |
textDecorationLineThrough | textDecorationLineThrough | IHTMLStyle | get_textDecorationLineThrough put_textDecorationLineThrough |
textDecorationNone | textDecorationNone | IHTMLStyle | get_textDecorationNone put_textDecorationNone |
textDecorationOverline | textDecorationOverline | IHTMLStyle | get_textDecorationOverline put_textDecorationOverline |
textDecorationUnderline | textDecorationUnderline | IHTMLStyle | get_textDecorationUnderline put_textDecorationUnderline |
textIndent | TEXT-INDENT | IHTMLStyle | get_textIndent put_textIndent |
textJustify | TEXT-JUSTIFY | IHTMLStyle2 | get_textJustify put_textJustify |
textJustifyTrim | TEXT-JUSTIFY-TRIM | IHTMLStyle2 | get_textJustifyTrim put_textJustifyTrim |
textKashida | TEXT-KASHIDA | IHTMLStyle2 | get_textKashida put_textKashida |
textKashidaSpace | TEXT-KASHIDA-SPACE | IHTMLStyle3 | get_textKashidaSpace put_textKashidaSpace |
textOverflow | TEXT-OVERFLOW | IHTMLStyle4 | get_textOverflow put_textOverflow |
textTransform | TEXT-TRANSFORM | IHTMLStyle | get_textTransform put_textTransform |
textUnderlinePosition | TEXT-UNDERLINE-POSITION | IHTMLStyle3 | get_textUnderlinePosition put_textUnderlinePosition |
top | TOP | IHTMLStyle | get_top put_top |
toString | IHTMLStyle | toString | |
unicodeBidi | unicode-bidi | IHTMLStyle2 | get_unicodeBidi put_unicodeBidi |
verticalAlign | VERTICAL_ALIGN | IHTMLStyle | get_verticalAlign put_verticalAlign |
visibility | VISIBILITY | IHTMLStyle | get_visibility put_visibility |
whiteSpace | WHITE-SPACE | IHTMLStyle | get_whiteSpace put_whiteSpace |
width | WIDTH | IHTMLStyle | get_width put_width |
wordBreak | WORD-BREAK | IHTMLStyle2 | get_wordBreak put_wordBreak |
wordSpacing | WORD-SPACING | IHTMLStyle | get_wordSpacing put_wordSpacing |
wordWrap | WORD-WRAP | IHTMLStyle3 | get_wordWrap put_wordWrap |
writingMode | WRITING-MODE | IHTMLStyle3 | get_writingMode put_writingMode |
zIndex | Z-INDEX | IHTMLStyle | get_zIndex put_zIndex |
zoom | ZOOM | IHTMLStyle3 | get_zoom put_zoom |