IHTMLRuleStyle7::borderTopRightRadius Property
[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-right corner for the outer border edge of the current box.
Syntax
HRESULT IHTMLRuleStyle7::get_borderTopRightRadius(BSTR *p); HRESULT IHTMLRuleStyle7::put_borderTopRightRadius(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
, orpc
) or a relative units designator (em
,ex
, orpx
). For more information about the supported length units, see CSS Length Units Reference.percentage An integer, followed by a percent sign (%). 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::borderTopRightRadius property specifies the horizontal and vertical radii of the ellipse that defines the rounded upper-right 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::borderRadius, IHTMLRuleStyle7::borderBottomLeftRadius, IHTMLRuleStyle7::borderBottomRightRadius, IHTMLRuleStyle7::borderTopLeftRadius