Share via


IHTMLRuleStyle7::stopOpacity Property

New for Internet Explorer 9

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

Gets or sets a value that defines the opacity of the current gradient stop.

Syntax

HRESULT IHTMLRuleStyle7::get_stopOpacity(float *p);
HRESULT IHTMLRuleStyle7::put_stopOpacity(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 uniform opacity setting to be applied to the gradient stop. 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 restricted to to this range.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLRuleStyle7::fillOpacity, IHTMLRuleStyle7::strokeOpacity, IHTMLRuleStyle7::opacity