Gets the style of the right border of the object.
HRESULT IHTMLCurrentStyle::get_borderRightStyle(BSTR *p);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
none Default. No border is drawn, regardless of any specified IHTMLCurrentStyle::borderWidth. dotted Border is a dotted line. This value is supported on the Macintosh platform, as of Microsoft Internet Explorer 4.01, and on the Windows platform, as of Internet Explorer 5.5. It renders as a solid line on UNIX platforms, and on Windows systems running earlier versions of Windows Internet Explorer. dashed Border is a dashed line. This value is supported on the Macintosh platform as of Internet Explorer 4.01 and on the Windows platform, as of Internet Explorer 5.5. It renders as a solid line on UNIX platforms, and on Windows systems running earlier versions of Internet Explorer. solid Border is a solid line. double Border is a double line drawn on top of the background of the object. The sum of the two single lines and the space between equals the IHTMLCurrentStyle::borderWidth value. The border width must be at least 3 pixels wide to draw a double border. groove 3-D groove is drawn in colors based on the value. ridge 3-D ridge is drawn in colors based on the value. inset 3-D inset is drawn in colors based on the value. outset 3-D outset is drawn in colors based on the value. window-inset Internet Explorer 6 and later. Same as
insetwith a thin outside border.
hidden Internet Explorer 8. Same as
none, except in terms of conflict resolution of collapsed borders. Any element with a
hiddenborder suppresses all shared borders at that location. Borders with a style of
nonehave the lowest priority.
Returns S_OK if successful, or an error value otherwise.
As of Internet Explorer 5.5, this property applies to inline elements. With earlier versions of Internet Explorer, inline elements must have an
absoluteIHTMLCurrentStyle::position or layout to use this property. Element layout is set by providing a value for the IHTMLCurrentStyle::height property or the IHTMLCurrentStyle::width property.
An IHTMLCurrentStyle::borderWidth greater than 0 must be set for the border-right-style attribute to render.