IHTMLRuleStyle7::borderTopLeftRadius Property

New for Internet Explorer 9

[This documentation is preliminary and is subject to change.]

Gets or sets one or two values that define the radii of the quarter ellipse that defines the shape of the upper-left corner for the outer border edge of the current box.

Syntax

HRESULT IHTMLRuleStyle7::get_borderTopLeftRadius(BSTR *p);
HRESULT IHTMLRuleStyle7::put_borderTopLeftRadius(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives one or two radius values.
  • v
    BSTR that specifies one or two radius values.

Possible Values

radius A floating-point number, followed by either an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see CSS Length Units Reference.
percentage An integer, followed by a %. The value is a percentage of, for horizontal radii, the width of the border box, or for vertical radii, the height of the border box.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The IHTMLRuleStyle7::borderTopLeftRadius property specifies the horizontal and vertical radii of the ellipse that defines the rounded upper-left corner for a border box. If there is only one value given, that value specifies both horizontal and vertical radii of the ellipse. If there are two values given, the first value sets the horizontal radius and the second value sets the vertical radius.

See Also

IHTMLRuleStyle7::borderTopRightRadius, IHTMLRuleStyle7::borderBottomLeftRadius, IHTMLRuleStyle7::borderBottomRightRadius, IHTMLRuleStyle7::borderRadius