Export (0) Print
Expand All
top
Expand Minimize
This topic has not yet been rated - Rate this topic

opacity property

Gets or sets a value that specifies object or group opacity in Cascading Style Sheets (CSS) or Scalable Vector Graphics (SVG).

CSS Color Module Level 3, Section 3.2Internet Explorer 9

Syntax

Integer value = object.put_opacity(Floating-point v);Integer value = object.get_opacity(Floating-point* fOpacity);

Property values

Type: float

inherit (inherit)

Indicates that the property takes the same computed value as the property for the element's parent.

String format

<alphavalue> | inherit

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value1

Standards information

Remarks

The opacity setting is applied uniformly across the entire object. Any values outside the range 0.0 to 1.0 will be clamped to this range.

Object or group opacity can be thought of conceptually as a postprocessing operation. Conceptually, after the object or group is rendered into an RGBA offscreen image, the object or group opacity setting specifies how to blend the offscreen image into the current background.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.