
HRESULT get_paddingLeft(
VARIANT *p
);
Retrieves the value of the CSS padding-left attribute for the element.
See also put_paddingLeft
HRESULT get_paddingRight(
VARIANT *p
);
Retrieves the value of the CSS padding-right attribute for the element.
See also put_paddingRight
HRESULT get_paddingTop(
VARIANT *p
);
Retrieves the value of the CSS padding-top attribute for the element.
See also put_paddingTop
HRESULT get_pageBreakAfter(
BSTR *p
);
Retrieves the value of the CSS page-break-after attribute for the element.
| auto | Insert a page break after the element only if necessary. |
| always | Always insert a page break after the element. |
| left | Insert one or two page breaks after the element until a blank left page is reached. |
| right | Insert one or two page breaks after the element until a blank right page is reached. |
See also put_pageBreakAfter
HRESULT get_pageBreakBefore(
BSTR *p
);
Retrieves the value of the CSS page-break-before attribute for the element.
| auto | Insert a page break before the element only if necessary. |
| always | Always insert a page break before the element. |
| left | Insert one or two page breaks before the element until a blank left page is reached. |
| right | Insert one or two page breaks before the element until a blank right page is reached. |
See also put_pageBreakBefore
HRESULT get_pixelHeight(
long *p
);
Retrieves the height of the element, in pixels.
Unlike the height attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also put_pixelHeight
HRESULT get_pixelLeft(
long *p
);
Retrieves the left position of the element, in pixels.
Unlike the left attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also put_pixelLeft
HRESULT get_pixelTop( long *p );
Retrieves the top position of the element, in pixels.
Unlike the top attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also put_pixelTop
HRESULT get_pixelWidth(
long *p
);
Retrieves the width of the element, in pixels.
Unlike the width attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also put_pixelWidth
HRESULT get_posHeight(
float *p
);
Retrieves the height of the element.
Unlike the height property, this property's value is a floating-point number, not a string.
See also put_posHeight
HRESULT get_position(
BSTR *p
);
Retrieves the value of the CSS position attribute for the element. The attribute specifies whether the element can be positioned and, if so, the position of the element relative to its parent object.
| absolute | The element is placed relative to the document. |
| relative | The element is placed relative to its parent object. |
| static | The element cannot be positioned. |
The position attribute is not inherited.
HRESULT get_posLeft(
float *p
) ;
Retrieves the left position of the element.
Unlike the left property, this property's value is a floating-point number, not a string.
See also put_posLeft
HRESULT get_posTop(
float *p
);
Retrieves the top position of the element.
Unlike the top property, this property's value is a floating-point number, not a string.
See also put_posTop
HRESULT get_posWidth(
float *p
);
Retrieves the width position of the element.
Unlike the width property, this property's value is a floating-point number, not a string.
See also put_posWidth
HRESULT get_styleFloat(
BSTR *p
);
Retrieves the value of the CSS float attribute for the element.
| left |
| right |
| none |
See also put_styleFloat
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 get_textDecoration(
BSTR *p
);
Retrieves the value of the CSS text-decoration attribute for the element.
See also put_textDecoration
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 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 get_textDecorationNone(
VARIANT_BOOL *p
);
Retrieves whether the element's CSS text-decoration attribute has a value of "none".
See also put_textDecorationNone
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 get_textDecorationUnderline(
VARIANT_BOOL *p
);
Retrieves whether the element's CSS text-decoration attribute has a value of "underline".
See also put_textDecorationUnderline
HRESULT get_textIndent(
VARIANT *p
);
Retrieves the value of the CSS text-indent attribute for the element.
See also put_textIndent
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 get_top(
VARIANT *p
);
Retrieves the value of the CSS top attribute for the element.
See also put_top
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 get_visibility(
BSTR *p
);
Retrieves the value of the visibility attribute for the element.
| visible |
| hidden |
| inherit |
See also put_visibility
HRESULT get_whiteSpace(
BSTR *p
);
Retrieves the value of the CSS white-space attribute for the element.
| normal | Consecutive white-space characters are replaced with a single space. |
| nowrap | Linebreak characters are preserved, but consecutive spaces and tab characters are replaced with a single space. |
| pre | All white-space characters (including line breaks) are preserved. |
See also put_whiteSpace
HRESULT get_width(
VARIANT *p
);
Retrieves the value of the CSS width attribute for the element.
See also put_width
HRESULT get_wordSpacing(
VARIANT *p
);
Retrieves the value of the CSS word-spacing attribute for the element.
See also put_wordSpacing
HRESULT get_zIndex(
VARIANT *p
);
Retrieves the value of the CSS z-index attribute for the element.
See also put_zIndex
HRESULT getAttribute(
BSTR strAttributeName,
LONG fFlags,
VARIANT *AttributeValue
);
Retrieves the value of the given attribute.
If two or more attributes have the same name (differing only in uppercase and lowercase letters) and fFlags is FALSE, this method retrieves values only for the last attribute (the last to be created with this name). All other attributes of the same name are ignored.
See also setAttribute
HRESULT put_background(
BSTR v
);
Sets the value of the CSS background attribute for the element.
See also get_background
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 put_backgroundColor(
VARIANT v
);
Sets the CSS background-color attribute for the element.
See also get_backgroundColor
HRESULT put_backgroundImage(
BSTR v
);
Sets a CSS background-image attribute for the element.
See also get_backgroundImage
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 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 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 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 put_border(
BSTR v
);
Sets the value of the CSS border attribute for the element. The attribute describes the color, style, and width of the border to display around the element.
See also get_border
HRESULT put_borderBottom(
BSTR v
);
Sets the value of the CSS border-bottom attribute for the element. The attribute determines the width, style, and color of the bottom border.
See also get_borderBottom
HRESULT put_borderBottomColor(
VARIANT v
);
Sets the value of the CSS border-bottom-color attribute for the element. The attribute determines the color of the element's bottom border.
See also get_borderBottomColor
HRESULT put_borderBottomStyle(
BSTR v
);
Sets the value of the CSS border-bottom-style attribute for the element. The attribute determines the style of the bottom border.
See also get_borderBottomStyle
HRESULT put_borderBottomWidth(
VARIANT v
);
Sets the value of the CSS border-bottom-width attribute for the element. The attribute determines the width of the bottom border.
See also get_borderBottomWidth
HRESULT put_borderColor(
BSTR v
);
Sets the value of the CSS border-color attribute for the element. The attribute determines the color of the element's four borders.
See also get_borderColor
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.