IHTMLStyle7::strokeMiterlimit Property

New for Internet Explorer 9

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

Gets or sets a value that indicates the limit on the ratio of the length of miter joins (as specified in the IHTMLStyle7::strokeLinejoin property).

Syntax

HRESULT IHTMLStyle7::get_strokeMiterlimit(float *p);
HRESULT IHTMLStyle7::put_strokeMiterlimit(float v);

Parameters

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

Possible Values

inherit The property takes the same computed value as the property for the element's parent.
miterlimit The limit on the ratio of the miter length to the value of the IHTMLStyle7::strokeWidth property. The value of miterlimit must be a number that is greater than or equal to 1. Any other value is an error.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The ratio of miter length (distance between the outer tip and the inner corner of the miter) to IHTMLStyle7::strokeWidth is directly related to the angle (theta) between the segments in user space by the formula: miterLength / stroke-width = 1 / sin ( theta / 2 )

See Also

IHTMLStyle7::stroke, IHTMLStyle7::strokeDasharray, IHTMLStyle7::strokeDashoffset, IHTMLStyle7::strokeLinecap, IHTMLStyle7::strokeLinejoin, IHTMLStyle7::strokeOpacity, IHTMLStyle7::strokeWidth