Partager via


stopOpacity property

Sets or retrieves a value that defines the opacity of the current gradient stop.

 

Syntax

HRESULT value = object.put_stopOpacity( v);HRESULT value = object.get_stopOpacity(* p);

Property values

Type: float

One of the values in the Property Values section.

String format

opacity-value | inherit

CSS information

Applies To shapes and text content elements
Media visual
Inherited 1
Initial Value 1

Standards information

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference

IHTMLCSSStyleDeclaration::fillOpacity

IHTMLCSSStyleDeclaration2::floodOpacity

IHTMLCSSStyleDeclaration::strokeOpacity

IHTMLCSSStyleDeclaration::opacity