IHTMLRuleStyle::get_marginTop
IHTMLRuleStyle

IHTMLRuleStyle::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

IHTMLRuleStyle::put_marginRight

HRESULT put_marginRight(
    VARIANT v 
);

Sets the value of the CSS margin-right attribute for the element. The attribute determines the width of the right margin for the element.

v
String or value specifying the width of the right margin. The width can be positive or negative. See margin-right for details. Set this parameter to NULL to remove the attribute.

See also get_marginRight

IHTMLRuleStyle::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

IHTMLRuleStyle::put_marginBottom

HRESULT put_marginBottom( 
    VARIANT v 
);

Sets the value of the CSS margin-bottom attribute for the element. The attribute determines the height of the bottom margin for the element.

v
String or value specifying the height of the bottom margin. The height can be positive or negative. See margin-bottom for details. Set this parameter to NULL to remove the attribute.

See also get_marginBottom

IHTMLRuleStyle::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

IHTMLRuleStyle::put_marginLeft

HRESULT put_marginLeft(
    VARIANT v 
);

Sets the value of the CSS margin-left attribute for the element. The attribute determines the width of the left margin for the element.

v
String or value specifying the width of the left margin. The width can be positive or negative. See margin-left for details. Set this parameter to NULL to remove the attribute.

See also get_marginLeft

IHTMLRuleStyle::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

IHTMLRuleStyle::put_margin

HRESULT put_margin(
    BSTR v 
);

Sets the value of the CSS margin attribute for the element. The attribute sets the top, right, bottom, and left margins for the text of the element.

v
String that specifies 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 put_marginTop, put_marginRight, put_marginBottom, and put_marginLeft functions.

See also get_margin

IHTMLRuleStyle::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

IHTMLRuleStyle::put_paddingTop

HRESULT put_paddingTop(
    VARIANT v 
);

Sets the value of the CSS padding-top attribute for the element. The attribute determines the amount of space between the border and the top of the element's content.

v
String or value specifying the amount of top padding. See padding-top for details. Set this parameter to NULL to remove the attribute.

See also get_paddingTop

IHTMLRuleStyle::get_paddingTop

HRESULT get_paddingTop(
    VARIANT *p 
);

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

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

See also put_paddingTop

IHTMLRuleStyle::put_paddingRight

HRESULT put_paddingRight(
    VARIANT v 
);

Sets the value of the CSS padding-right attribute for the element. The attribute determines the amount of space between the border and the right of the element's content.

v
String or value specifying the amount of right padding. See padding-right for details. Set this parameter to NULL to remove the attribute.

See also get_paddingRight

IHTMLRuleStyle::get_paddingRight

HRESULT get_paddingRight( 
    VARIANT *p 
);

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

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

See also put_paddingRight

IHTMLRuleStyle::put_paddingBottom

HRESULT put_paddingBottom(
    VARIANT v 
);

Sets the value of the CSS padding-bottom attribute for the element. The attribute determines the amount of space between the border and the bottom of the element's content.

v
String or value specifying the amount of bottom padding. See padding-bottom for details. Set this parameter to NULL to remove the attribute.

See also get_paddingBottom

IHTMLRuleStyle::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

IHTMLRuleStyle::put_paddingLeft

HRESULT put_paddingLeft(
    VARIANT v 
);

Sets the value of the CSS padding-left attribute for the element. The attribute determines the amount of space between the border and the left of the element's content.

v
String or value specifying the amount of left padding. See padding-left for details. Set this parameter to NULL to remove the attribute.

See also get_paddingLeft

IHTMLRuleStyle::get_paddingLeft

HRESULT get_paddingLeft(
    VARIANT *p 
);

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

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

See also put_paddingLeft

IHTMLRuleStyle::put_padding

HRESULT put_padding( 
    BSTR v 
);

Sets the value of the CSS padding attribute for the element. The attibute determines the amount of space between the border and the element's content.

v
String that specifies the amount of top, right, bottom, and left padding, in that order. See padding for details. Set this parameter to NULL to remove the attribute.

This function combines the functionality of the put_paddingTop, put_paddingRight, put_paddingBottom, and put_paddingLeft functions.

See also get_padding

IHTMLRuleStyle::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

IHTMLRuleStyle::put_border

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.

v
String specifying values that describe the border. See border for details. Set this parameter to NULL to remove the attribute.

See also get_border

IHTMLRuleStyle::get_border

HRESULT get_border(
    BSTR *p 
);

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

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

See also put_border

IHTMLRuleStyle::put_borderTop

HRESULT put_borderTop(
    BSTR v 
);

Sets the value of the CSS border-top attribute for the element. The attribute determines the width, style, and color of the top border.

v
String specifying the border width, style, and color. See border-top for details. Set this parameter to NULL to remove the attribute.

See also get_borderTop

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderRight

HRESULT put_borderRight(
    BSTR v 
);

Sets the value of the CSS border-right attribute for the element. The attribute determines the width, style, and color of the right border.

v
String specifying the border width, style, and color. See border-right for details. Set this parameter to NULL to remove the attribute.

See also get_borderRight

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderBottom

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.

v
String specifying the border width, style, and color. See border-bottom for details. Set this parameter to NULL to remove the attribute.

See also get_borderBottom

IHTMLRuleStyle::get_borderBottom

HRESULT get_borderBottom(
    BSTR *p 
);

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

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

See also put_borderBottom

IHTMLRuleStyle::put_borderLeft

HRESULT put_borderLeft(
    BSTR v 
);

Sets the value of the CSS border-left attribute for the element. The attribute determines the width, style, and color of the left border.

v
String specifying the border width, style, and color. See border-left for details. Set this parameter to NULL to remove the attribute.

See also get_borderLeft

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderColor

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.

v
String specifying the border color, which can be one of the color names or values given in the Color Table reference documentation. Set this parameter to NULL to remove the attribute. See border-left for details.

See also get_borderColor

IHTMLRuleStyle::get_borderColor

HRESULT get_borderColor( 
    BSTR *p 
);

Retrieves the value of the CSS border-color attribute of the element. The border color 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

IHTMLRuleStyle::put_borderTopColor

HRESULT put_borderTopColor( 
    VARIANT v 
);

Sets the value of the CSS border-top-color attribute for the element. The attribute determines the color of the element's top border.

v
String specifying the border color, which can be one of the color names or values given in the Color Table reference documentation. Set this parameter to NULL to remove the attribute. See border-top-color for details.

See also get_borderTopColor

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderRightColor

HRESULT put_borderRightColor( 
    VARIANT v 
);

Sets the value of the CSS border-right-color attribute for the element. The attribute determines the color of the element's right border.

v
String specifying the border color, which can be one of the color names or values given in the Color Table reference documentation. Set this parameter to NULL to remove the attribute. See border-right-color for details.

See also get_borderRightColor

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderBottomColor

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.

v
String specifying the border color, which can be one of the color names or values given in the Color Table reference documentation. Set this parameter to NULL to remove the attribute. See border-bottom-color for details.

See also get_borderBottomColor

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderLeftColor

HRESULT put_borderLeftColor(
    VARIANT v 
);

Sets the value of the CSS border-left-color attribute for the element. The attribute determines the color of the element's left border.

v
String specifying the border color, which can be one of the color names or values given in the Color Table reference documentation. Set this parameter to NULL to remove the attribute. See border-left-color for details.

See also get_borderLeftColor

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderWidth

HRESULT put_borderWidth( 
    BSTR v 
);

Sets the value of the CSS border-width attribute for the element. The attribute determines the width of the left, right, top, and bottom borders.

v
String specifying the border widths. Set this parameter to NULL to remove the attribute. See border-width for details.

See also get_borderWidth

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderTopWidth

HRESULT put_borderTopWidth( 
    VARIANT v 
);

Sets the value of the CSS border-top-width attribute for the element. The attribute determines the width of the top border.

v
String specifying the border width. Set this parameter to NULL to remove the attribute. See border-top-width for details.

See also get_borderTopWidth

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderRightWidth

HRESULT put_borderRightWidth( 
    VARIANT v 
);

Sets the value of the CSS border-right-width attribute for the element. The attribute determines the width of the right border.

v
String specifying the border width. Set this parameter to NULL to remove the attribute. See border-right-width for details.

See also get_borderRightWidth

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderBottomWidth

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.

v
String specifying the border width. Set this parameter to NULL to remove the attribute. See border-bottom-width for details.

See also get_borderBottomWidth

IHTMLRuleStyle::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

IHTMLRuleStyle::put_borderLeftWidth

HRESULT put_borderLeftWidth( 
    VARIANT v 
);

Sets the value of the CSS border-left-width attribute for the element. The attribute determines the width of the left border.

v
String specifying the border width. Set this parameter to NULL to remove the attribute. See border-left-width for details.

See also get_borderLeftWidth

IHTMLRuleStyle::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

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