Share via


IHTMLRuleStyle7::fillOpacity 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 paint the interior of the current object.

Syntax

HRESULT IHTMLRuleStyle7::get_fillOpacity(float *p);
HRESULT IHTMLRuleStyle7::put_fillOpacity(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 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 limited to this range.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLRuleStyle7::strokeOpacity, IHTMLRuleStyle7::stopOpacity, IHTMLRuleStyle7::opacity