共用方式為


strokeOpacity property

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

 

Syntax

HRESULT value = object.put_strokeOpacity( v);HRESULT value = object.get_strokeOpacity(* 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::stroke

IHTMLCSSStyleDeclaration::strokeDasharray

IHTMLCSSStyleDeclaration::strokeDashoffset

IHTMLCSSStyleDeclaration::strokeLinecap

IHTMLCSSStyleDeclaration::strokeLinejoin

IHTMLCSSStyleDeclaration::strokeMiterlimit

IHTMLCSSStyleDeclaration::strokeWidth

IHTMLCSSStyleDeclaration::fillOpacity

IHTMLCSSStyleDeclaration::stopOpacity

IHTMLCSSStyleDeclaration::opacity