共用方式為


fill property

Sets or retrieves a value that indicates the color to paint the interior of the given graphical element.

 

Syntax

HRESULT value = object.put_fill( v);HRESULT value = object.get_fill(* p);

Property values

Type: BSTR

One of the values in the Property Values section.

String format

none | currentColor | funciri | inherit

CSS information

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

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

IHTMLCSSStyleDeclaration::stroke