IHTMLStyle::get_borderBottomColor
IHTMLStyle

IHTMLStyle::get_borderBottomColor


HRESULT get_borderBottomColor(
    VARIANT *p 
);

Retrieves the value of the CSS border-bottom-color attribute for the element.

p
Address of a variable that receives the color value. See border-bottom-color for details. This parameter receives NULL if the attribute is not set.

See also put_borderBottomColor

IHTMLStyle::get_borderBottomStyle

HRESULT get_borderBottomStyle( 
    BSTR *p 
);

Retrieves the value of the CSS border-bottom-style attribute for the element.

p
Address of a variable that receives the border style. See border-bottom-style for details. This parameter receives NULL if the attribute is not set.

See also put_borderBottomStyle

IHTMLStyle::get_borderBottomWidth

HRESULT get_borderBottomWidth( 
    VARIANT *p 
);

Retrieves the value of the CSS border-bottom-width attribute for the element.

p
Address of a variable that receives the border width. See border-bottom-width for details. This parameter receives NULL if the attribute is not set.

See also put_borderBottomWidth

IHTMLStyle::get_borderColor

HRESULT get_borderColor(
    BSTR *p 
);

Retrieves the value of the CSS border-color attribute of the element and must be used with the border property, except for frames. The color can be one of the color names or values given in the Color Table reference documentation.

p
Address of a variable that receives the border color values. See border-color for details. This parameter receives NULL if the attribute is not set.

See also put_borderColor

IHTMLStyle::get_borderLeft

HRESULT get_borderLeft( 
    BSTR *p 
);

Retrieves the value of the CSS border-left attribute for the element.

p
Address of a variable that receives values that describe the left border. See border-left for details. This parameter receives NULL if the attribute is not set.

See also put_borderLeft

IHTMLStyle::get_borderLeftColor

HRESULT get_borderLeftColor(
    VARIANT *p 
);

Retrieves the value of the CSS border-left-color attribute for the element.

p
Address of a variable that receives the color value. See border-left-color for details. This parameter receives NULL if the attribute is not set.

See also put_borderLeftColor

IHTMLStyle::get_borderLeftStyle

HRESULT get_borderLeftStyle( 
    BSTR *p 
);

Retrieves the value of the CSS border-left-style attribute for the element.

p
Address of a variable that receives the border style. See border-left-style for details. This parameter receives NULL if the attribute is not set.

See also put_borderLeftStyle

IHTMLStyle::get_borderLeftWidth

HRESULT get_borderLeftWidth(
    VARIANT *p 
);

Retrieves the value of the CSS border-left-width attribute for the element.

p
Address of a variable that receives the border width. See border-left-width for details. This parameter receives NULL if the attribute is not set.

See also put_borderLeftWidth

IHTMLStyle::get_borderRight

HRESULT get_borderRight(
    BSTR *p 
);

Retrieves the value of the CSS border-right attribute for the element.

p
Address of a variable that receives values that describe the right border. See border-right for details. This parameter receives NULL if the attribute is not set.

See also put_borderRight

IHTMLStyle::get_borderRightColor

HRESULT get_borderRightColor( 
    VARIANT *p 
);

Retrieves the value of the CSS border-right-color attribute for the element.

p
Address of a variable that receives the color value. See border-right-color for details. This parameter receives NULL if the attribute is not set.

See also put_borderRightColor

IHTMLStyle::get_borderRightStyle

HRESULT get_borderRightStyle( 
    BSTR *p 
);

Retrieves the value of the CSS border-right-style attribute for the element.

p
Address of a variable that receives the border style. See border-right-style for details. This parameter receives NULL if the attribute is not set.

See also put_borderRightStyle

IHTMLStyle::get_borderRightWidth

HRESULT get_borderRightWidth( 
    VARIANT *p
);

Retrieves the value of the CSS border-right-width attribute for the element.

p
Address of a variable that receives the border width. See border-right-width for details. This parameter receives NULL if the attribute is not set.

See also put_borderRightWidth

IHTMLStyle::get_borderStyle

HRESULT get_borderStyle( 
    BSTR *p 
);

Retrieves the value of the CSS border-style attribute for the element.

p
Address of a variable that receives the border styles. See border-style for details. This parameter receives NULL if the attribute is not set.

See also put_borderStyle

IHTMLStyle::get_borderTop

HRESULT get_borderTop( 
    BSTR *p 
);

Retrieves the value of the CSS border-top attribute for the element.

p
Address of a variable that receives values that describe the top border. See border-top for details. This parameter receives NULL if the attribute is not set.

See also put_borderTop

IHTMLStyle::get_borderTopColor

HRESULT get_borderTopColor( 
    VARIANT *p 
);

Retrieves the value of the CSS border-top-color attribute for the element.

p
Address of a variable that receives the color value. See border-top-color for details. This parameter receives NULL if the attribute is not set.

See also put_borderTopColor

IHTMLStyle::get_borderTopStyle

HRESULT get_borderTopStyle( 
    BSTR *p 
);

Retrieves the value of the CSS border-top-style attribute for the element.

p
Address of a variable that receives the border style. See border-top-style for details. This parameter receives NULL if the attribute is not set.

See also put_borderTopStyle

IHTMLStyle::get_borderTopWidth

HRESULT get_borderTopWidth( 
    VARIANT *p 
);

Retrieves the value of the CSS border-top-width attribute for the element.

p
Address of a variable that receives the border width. See border-top-width for details. This parameter receives NULL if the attribute is not set.

See also put_borderTopWidth

IHTMLStyle::get_borderWidth

HRESULT get_borderWidth( 
    BSTR *p 
);

Retrieves the value of the CSS border-width attribute for the element.

p
Address of a variable that receives the border widths. See border-width for details. This parameter receives NULL if the attribute is not set.

See also put_borderWidth

IHTMLStyle::get_clear

HRESULT get_clear(
    BSTR *p 
);

Retrieves the value of the CSS clear attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
left
right
both
See clear for details. This parameter receives NULL if the attribute is not set.

See also put_clear

IHTMLStyle::get_clip

HRESULT get_clip(
    BSTR *p 
);

Retrieves the value of the CSS clip attribute for the element.

p
Address of a variable that receives the coordinates of the clipping area. This variable receives NULL if the attribute is not set. See clip for details.

See also put_clip

IHTMLStyle::get_color

HRESULT get_color(
    VARIANT *p 
);

Retrieves the value of the CSS color attribute for the element.

p
Address of a variable that receives the value of the attribute. See color for details. This parameter receives NULL if the attribute is not set.

See also put_color

IHTMLStyle::get_cssText

HRESULT get_cssText( 
    BSTR *p 
);

Retrieves the persisted representation of the style rule.

p
Address of a variable that receives the style rule.

See also put_cssText

IHTMLStyle::get_cursor

HRESULT get_cursor( 
    BSTR *p 
);

Retrieves the value of the CSS cursor attribute for the element.

p
Address of a variable that receives the value of the attribute. See cursor for details. This variable receives NULL if the attribute is not set.

See also put_cursor

IHTMLStyle::get_display

HRESULT get_display( 
    BSTR *p 
);

Retrieves the value of the display attribute for the element.

p
Address of a variable that receives the value of the attribute. The variable receives "none" if the element is not being rendered, or NULL if it is. See display for details.

See also put_display

IHTMLStyle::get_filter

HRESULT get_filter( 
    BSTR *p 
);

Retrieves a filter or collection of filters for the element.

p
Address of a variable that receives the filter.

See also put_filter

IHTMLStyle::get_font

HRESULT get_font(
    BSTR *p 
);

Retrieves the values of the CSS font-style, font-variant, font-weight, font-size, line-height, and font-family attributes for the element.

p
Address of a variable that receives the values of the font-related CSS attributes. See font for details. This parameter receives NULL if no font-related CSS attributes are set for the element.

See also put_font

IHTMLStyle::get_fontFamily

HRESULT get_fontFamily(
    BSTR *p 
);

Retrieves the value of the CSS font-family attribute for the element.

p
Address of a variable that receives the value of the attribute. See font-family for details. This parameter receives NULL if the attribute is not set.

See also put_fontFamily

IHTMLStyle::get_fontSize

HRESULT get_fontSize(
    VARIANT *p 
);

Retrieves the value of the CSS font-size attribute for the element.

p
Address of a variable that receives the value of the attribute. See font-size for details. This parameter receives NULL if the attribute is not set.

See also put_fontSize

IHTMLStyle::get_fontStyle

HRESULT get_fontStyle(
    BSTR *p 
);

Retrieves the value of the CSS font-style attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
normal
italic
oblique
See font-style for details. This parameter receives NULL if the attribute is not set.

See also put_fontStyle

IHTMLStyle::get_fontVariant

HRESULT get_fontVariant(
    BSTR *p 
);

Retrieves the value of the CSS font-variant attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
normal
small-caps
See font-variant for details. This parameter receives NULL if the attribute is not set.

The default value for this property is 1.

See also put_fontVariant

IHTMLStyle::get_fontWeight

HRESULT get_fontWeight( 
    BSTR *p 
);

Retrieves the value of the CSS font-weight attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
normal
bold
bolder
lighter
100
200
300
400
500
600
700
800
900
See font-weight for details. This parameter receives NULL if the attribute is not set.

See also put_fontWeight

IHTMLStyle::get_height

HRESULT get_height( 
    VARIANT *p 
);

Retrieves the value of the CSS height attribute for the element.

p
Address of a variable that receives the height. See height for details. This parameter receives NULL if the attribute is not set.

See also put_height

IHTMLStyle::get_left

HRESULT get_left(
    VARIANT *p 
);

Retrieves the value of the CSS left attribute for the element.

p
Address of a variable that receives the value of the attribute. The value is a string consisting of a floating-point number and a units designator. The variable receives NULL if the attribute is not set. See left for details.

See also put_left

IHTMLStyle::get_letterSpacing

HRESULT get_letterSpacing( 
    VARIANT *p 
);

Retrieves the value of the CSS letter-spacing for the element.

p
Address of a variable that receives the value of the attribute, or NULL if the attribute is not set. See letter-spacing for details.

See also put_letterSpacing

IHTMLStyle::get_lineHeight

HRESULT get_lineHeight( 
    VARIANT *p 
);

Retrieves the value of the CSS line-height attribute for the element.

p
Address of a variable that receives the value of the attribute. See line-height for details. The variable receives NULL if the attribute is not set.

See also put_lineHeight

IHTMLStyle::get_listStyle

HRESULT get_listStyle(
    BSTR *p 
);

Retrieves the value of the CSS list-style attribute for the element.

p
Address of a variable that receives the value of the attribute. See list-style for details. The variable receives NULL if the attribute is not set.

The list-style attribute is applicable only on elements that have the display attribute set to "list-item".

This function combines the functionality of the get_listStyleType, get_listStyleImage, and get_listStylePosition functions.

See also put_listStyle

IHTMLStyle::get_listStyleImage

HRESULT get_listStyleImage( 
    BSTR *p 
);

Retrieves the value of the CSS list-style-image attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be either "none" or the URL of the image used as the list-item marker. See list-style-image for details. The variable receives NULL if the attribute is not set.

The list-style-image attribute is applicable only on elements that have the display attribute set to "list-item".

See also put_listStyleImage

IHTMLStyle::get_listStylePosition

HRESULT get_listStylePosition( 
    BSTR *p 
);

Retrieves the value of the CSS list-style-position attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
inside
outside
See list-style-position for details. The variable receives NULL if the attribute is not set.

The list-style-position attribute is applicable only on elements that have the display attribute set to "list-item".

See also put_listStylePosition

IHTMLStyle::get_listStyleType

HRESULT get_listStyleType( 
    BSTR *p 
);

Retrieves the value of the CSS list-style-type attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
disk
circle
square
decimal
lower-roman
upper-roman
lower-alpha
upper-alpha
none
See list-style-type for details. The variable receives NULL if the attribute is not set.

The list-style-type attribute is applicable only on elements that have the display attribute set to "list-item".

See also put_listStyleType

IHTMLStyle::get_margin

HRESULT get_margin( 
    BSTR *p 
);

Retrieves the value of the CSS margin attribute for the element.

p
Address of a variable that receives the top, right, bottom, and left margins, in that order. See margin for details. Set this parameter to NULL to remove the attribute.

This function combines the functionality of the get_marginTop, get_marginRight, get_marginBottom, and get_marginLeft functions.

See also put_margin

IHTMLStyle::get_marginBottom

HRESULT get_marginBottom(
    VARIANT *p 
);

Retrieves the value of the CSS margin-bottom attribute for the element.

p
Address of a variable that receives the value of the attribute. See margin-bottom for details. This parameter receives NULL if the attribute is not set.

See also put_marginBottom

IHTMLStyle::get_marginLeft

HRESULT get_marginLeft(
    VARIANT *p 
);

Retrieves the value of the CSS margin-left attribute for the element.

p
Address of a variable that receives the value of the attribute. See margin-left for details. This parameter receives NULL if the attribute is not set.

See also put_marginLeft

IHTMLStyle::get_marginRight

HRESULT get_marginRight( 
    VARIANT *p 
);

Retrieves the value of the CSS margin-right attribute for the element.

p
Address of a variable that receives the value of the attribute. See margin-right for details. This parameter receives NULL if the attribute is not set.

See also put_marginRight

IHTMLStyle::get_marginTop

HRESULT get_marginTop(
    VARIANT *p 
);

Retrieves the value of the CSS margin-top attribute for the element.

p
Address of a variable that receives the value of the attribute. See margin-top for details. This parameter receives NULL if the attribute is not set.

See also put_marginTop

IHTMLStyle::get_overflow

HRESULT get_overflow( 
    BSTR *p 
);

Retrieves the value of the CSS overflow attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
none
clip
scroll
See overflow for details. The variable receives NULL if the attribute is not set.

See also put_overflow

IHTMLStyle::get_padding

HRESULT get_padding( 
    BSTR *p 
);

Retrieves the value of the CSS padding attribute for the element.

p
Address of a variable that receives the amount of top, right, bottom, and left padding, in that order. If this parameter specifies only one value, it applies to all sides. If it specifies two or three, the missing values are taken from the opposite side. See padding for details. This parameter receives NULL if the attribute is not set.

This function combines the functionality of the get_paddingTop, get_paddingRight, get_paddingBottom, and get_paddingLeft functions.

See also put_padding

IHTMLStyle::get_paddingBottom

HRESULT get_paddingBottom( 
    VARIANT *p 
);

Retrieves the value of the CSS padding-bottom attribute for the element.

p
Address of a variable that receives the value of the attribute. See padding-bottom for details. This parameter receives NULL if the attribute is not set.

See also put_paddingBottom

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.