IHTMLStyle7::strokeOpacity Property

New for Internet Explorer 9

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

Gets or sets a value that specifies the opacity of the painting operation that is used to stroke the current object.

Syntax

HRESULT IHTMLStyle7::get_strokeOpacity(float *p);
HRESULT IHTMLStyle7::put_strokeOpacity(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 Indicates that the property takes the same computed value as the property for the element's parent.
opacity-value The opacity of the painting operation that is used to stroke the current object, as a number. This value is a floating-point number between 0 and 1. Any values outside the range 0.0 (fully transparent) to 1.0 (fully opaque) are automatically limited to this range.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLStyle7::stroke, IHTMLStyle7::strokeDasharray, IHTMLStyle7::strokeDashoffset, IHTMLStyle7::strokeLinecap, IHTMLStyle7::strokeLinejoin, IHTMLStyle7::strokeMiterlimit, IHTMLStyle7::strokeWidth, IHTMLStyle7::fillOpacity, IHTMLStyle7::stopOpacity, IHTMLStyle7::opacity