
This interface draws a horizontal rule.
This element is a block element.
IHTMLHRElement Methods
| put_align | get_align | put_color |
| get_color | put_noShade | get_noShade |
| put_width | get_width | put_size |
| get_size |
HRESULT put_align(
BSTR v
);
Displays the element left flush, right flush, or centered relative to the display or table.
| center | Align to the center. |
| left | Align to the left edge. |
| right | Align to the right edge. |
See also get_align
HRESULT get_align(
BSTR *p
);
Displays the element left flush, right flush, or centered relative to the display or table.
| center | Align to the center. |
| left | Align to the left edge. |
| right | Align to the right edge. |
See also put_align
HRESULT put_color(
VARIANT v
);
Sets the color to be used by the horizontal rule.
See also get_color
HRESULT get_color(
VARIANT *p
);
Retrieves the color to be used by the horizontal rule.
See also put_color
HRESULT put_noShade(
VARIANT_BOOL v
);
Specifies whether to draw the horizontal rule with 3-D shading.
The default value for this property is FALSE.
See also get_noShade
HRESULT get_noShade(
VARIANT_BOOL *p
);
Determines whether the horizontal rule is drawn with 3-D shading.
The default value for this property is FALSE.
See also put_noShade
HRESULT put_width(
VARIANT v
);
Sets the calculated width of the horizontal rule, in pixels.
This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.
See also get_width
HRESULT get_width(
VARIANT *p
);
Retrieves the calculated width of the horizontal rule, in pixels.
This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.
See also put_width
HRESULT put_size(
VARIANT v
);
Sets the height of the horizontal rule, in pixels.
See also get_size
HRESULT get_size(
VARIANT *p
);
Retrieves the height of the horizontal rule, in pixels.
See also put_size
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.