Share via


IHTMLRuleStyle7::strokeLinecap Property

New for Internet Explorer 9

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

Gets or sets a value that specifies the shape to be used at the end of open subpaths when they are stroked.

Syntax

HRESULT IHTMLRuleStyle7::get_strokeLinecap(BSTR *p);
HRESULT IHTMLRuleStyle7::put_strokeLinecap(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
  • v
    BSTR that specifies one of the values listed in Possible Values.

Possible Values

butt Default. Indicates that there should be no extra decoration at the end.
round Indicates that there should be a half circle, its diameter equal to the line's width, at the end.
bevel Indicates that there should be a straight line extending half the line's width past its endpoint.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLRuleStyle7::stroke, IHTMLRuleStyle7::strokeDasharray, IHTMLRuleStyle7::strokeDashoffset, IHTMLRuleStyle7::strokeLinejoin, IHTMLRuleStyle7::strokeMiterlimit, IHTMLRuleStyle7::strokeOpacity, IHTMLRuleStyle7::strokeWidth