
HRESULT put_color(
VARIANT v
);
Sets the CSS color attribute for the element.
See also get_color
HRESULT get_color(
VARIANT *p
);
Retrieves the value of the CSS color attribute for the element.
See also put_color
HRESULT put_background(
BSTR v
);
Sets the value of the CSS background attribute for the element.
See also get_background
HRESULT get_background(
BSTR *p
);
Retrieves the value of the CSS background attribute for the element.
See also put_background
HRESULT put_backgroundColor(
VARIANT v
);
Sets the CSS background-color attribute for the element.
See also get_backgroundColor
HRESULT get_backgroundColor(
VARIANT *p
);
Retrieves the value of the CSS background-color attribute for the element.
See also put_backgroundColor
HRESULT put_backgroundImage(
BSTR v
);
Sets a CSS background-image attribute for the element.
See also get_backgroundImage
HRESULT get_backgroundImage(
BSTR *p
);
Retrieves the value of the CSS background-image attribute for the element.
See also put_backgroundImage
HRESULT put_backgroundRepeat(
BSTR v
);
Sets the value of the CSS background-repeat attribute for the element. The attribute determines whether and how the background image, if any, is repeated.
| norepeat | Do not repeat. |
| repeaty | Repeat vertically. |
| repeat | Repeat both horizontally and vertically. |
| repeatx | Repeat horizontally. |
See also get_backgroundRepeat
HRESULT get_backgroundRepeat(
BSTR *p
);
Retrieves the value of the CSS background-repeat attribute for the element.
| norepeat | Do not repeat. |
| repeaty | Repeat vertically. |
| repeat | Repeat both horizontally and vertically. |
| repeatx | Repeat horizontally. |
See also put_backgroundRepeat
HRESULT put_backgroundAttachment(
BSTR v
);
Sets the value of the CSS background-attachment attribute for the element. If the element has a background image, this attribute determines if the image is fixed with regard to the text of the element, or if it scrolls with the text.
| fixed | Background image remains fixed. |
| scroll | Background image scrolls with text. |
See also get_backgroundAttachment
HRESULT get_backgroundAttachment(
BSTR *p
);
Retrieves the value of the CSS background-attachment attribute for the element.
| fixed | Background image remains fixed. |
| scroll | Background image scrolls with text. |
See also put_backgroundAttachment
HRESULT put_backgroundPosition(
BSTR v
);
Sets the value of the CSS background-position attribute for the element. The attribute determines the initial position of the background image, if any.
See also get_backgroundPosition
HRESULT get_backgroundPosition(
BSTR *p
);
Retrieves the value of the CSS background-position attribute for the element.
See also put_backgroundPosition
HRESULT put_backgroundPositionX(
VARIANT v
);
Sets the x-coordinate of the CSS background-position attribute for the element. The attribute determines the initial horizontal position of the background image, if any.
See also get_backgroundPositionX
HRESULT get_backgroundPositionX(
VARIANT *p
);
Retrieves the x-coordinate of the CSS background-position attribute for the element.
See also put_backgroundPositionX
HRESULT put_backgroundPositionY(
VARIANT v
);
Sets the y-coordinate of the CSS background-position attribute for the element. The attribute determines the initial vertical position of the background image, if any.
See also get_backgroundPositionY
HRESULT get_backgroundPositionY(
VARIANT *p
);
Retrieves the y-coordinate of the CSS background-position attribute for the element.
See also put_backgroundPositionY
HRESULT put_wordSpacing(
VARIANT v
);
Sets the value of the CSS word-spacing attribute for the element. The attribute determines the amount of space to add to the default space between words in the element's text.
See also get_wordSpacing
HRESULT get_wordSpacing(
VARIANT *p
);
Retrieves the value of the CSS word-spacing attribute for the element.
See also put_wordSpacing
HRESULT put_letterSpacing(
VARIANT v
);
Sets the value of the CSS letter-spacing attribute for the element. The attribute determines the amount of space to add to the default space between letters in the element's text.
See also get_letterSpacing
HRESULT get_letterSpacing(
VARIANT *p
);
Retrieves the value of the CSS letter-spacing for the element.
See also put_letterSpacing
HRESULT put_textDecoration(
BSTR v
);
Sets the value of the CSS text-decoration attribute for the element.
| underline |
| overline |
| line-through |
See also get_textDecoration
HRESULT get_textDecoration(
BSTR *p
);
Retrieves the value of the CSS text-decoration attribute for the element.
See also put_textDecoration
HRESULT put_textDecorationNone(
VARIANT_BOOL v
);
Sets the value of the element's CSS text-decoration attribute to "none", or removes the "none" value from the attribute.
See also get_textDecorationNone
HRESULT get_textDecorationNone(
VARIANT_BOOL *p
);
Retrieves whether the element's CSS text-decoration attribute has a value of "none".
See also put_textDecorationNone
HRESULT put_textDecorationUnderline(
VARIANT_BOOL v
);
Sets the value of the element's CSS text-decoration attribute to "underline", or removes the "underline" value from the attribute.
See also get_textDecorationUnderline
HRESULT get_textDecorationUnderline(
VARIANT_BOOL *p
);
Retrieves whether the element's CSS text-decoration attribute has a value of "underline".
See also put_textDecorationUnderline
HRESULT put_textDecorationOverline(
VARIANT_BOOL v
);
Sets the value of the element's CSS text-decoration attribute to "overline", or removes the "overline" value from the attribute.
See also get_textDecorationOverline
HRESULT get_textDecorationOverline(
VARIANT_BOOL *p
);
Retrieves whether the element's CSS text-decoration attribute has a value of "overline".
See also put_textDecorationOverline
HRESULT put_textDecorationLineThrough(
VARIANT_BOOL v
);
Sets the value of the element's CSS text-decoration attribute to "line-through", or removes the "line-through" value from the attribute.
See also get_textDecorationLineThrough
HRESULT get_textDecorationLineThrough(
VARIANT_BOOL *p
);
Retrieves whether the element's CSS text-decoration attribute has a value of "line-through".
See also put_textDecorationLineThrough
HRESULT put_textDecorationBlink(
VARIANT_BOOL v
);
Sets the value of the element's CSS text-decoration attribute to "blink", or removes the "blink" value from the attribute.
See also get_textDecorationBlink
HRESULT get_textDecorationBlink(
VARIANT_BOOL *p
);
Retrieves whether the element's CSS text-decoration attribute has a value of "blink".
See also put_textDecorationBlink
HRESULT put_verticalAlign(
VARIANT v
);
Sets the value of the CSS vertical-align attribute for the element. The attribute determines the vertical positioning of the element.
| baseline |
| middle |
| sub |
| super |
| text-top |
| text-bottom |
| top |
| bottom |
See also get_verticalAlign
HRESULT get_verticalAlign(
VARIANT *p
);
Retrieves the value of the CSS vertical-align attribute for the element.
| baseline |
| middle |
| sub |
| super |
| text-top |
| text-bottom |
| top |
| bottom |
See also put_verticalAlign
HRESULT put_textTransform(
BSTR v
);
Sets the value of the CSS text-transform attribute for the element.
| capitalize | First letter in the text is capitalized. |
| lowercase | All letters in the text are converted to lowercase. |
| uppercase | All letters in the text are converted to uppercase. |
See also get_textTransform
HRESULT get_textTransform(
BSTR *p
);
Retrieves the value of the CSS text-transform attribute for the element.
| capitalize | First letter in the text is capitalized. |
| lowercase | All letters in the text are converted to lowercase. |
| uppercase | All letters in the text are converted to uppercase. |
See also put_textTransform
HRESULT put_textAlign(
BSTR v
);
Sets the value of the CSS text-align attribute for the element. The attribute determines the alignment of the element's text.
| left |
| right |
| center |
| justify |
See also get_textAlign
HRESULT get_textAlign(
BSTR *p
);
Retrieves the value of the CSS text-align attribute for the element.
| left |
| right |
| center |
| justify |
See also put_textAlign
HRESULT put_textIndent(
VARIANT v
);
Sets the value of the CSS text-indent attribute for the element. The attribute determines the amount of indention before the element's first line of formatted text.
See also get_textIndent
HRESULT get_textIndent(
VARIANT *p
);
Retrieves the value of the CSS text-indent attribute for the element.
See also put_textIndent
HRESULT put_lineHeight(
VARIANT v
);
Sets the value of the CSS line-height attribute for the element. The attribute determines the distance between the baselines of subsequent lines of text. Use a negative line height to achieve various shadowing effects.
See also get_lineHeight
HRESULT get_lineHeight(
VARIANT *p
);
Retrieves the value of the CSS line-height attribute for the element.
See also put_lineHeight
HRESULT put_marginTop(
VARIANT v
);
Sets the value of the CSS margin-top attribute for the element. The attribute determines the height of the top margin for the element.
See also get_marginTop
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.