Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
stroke
top
Collapse the table of content
Expand the table of content

stroke property

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

Scalable Vector Graphics: Painting, Filling, Stroking and Marker Symbols, Section 11.4Internet Explorer 9

 

Syntax

HRESULT value = object.put_stroke( v);HRESULT value = object.get_stroke(* p);

Property values

Type: BSTR

One of the values in the Property Values section.

String format

none | currentColor | <color> | <funciri> [ none | currentColor | <color> ] | inherit

CSS information

Applies Toshapes and text content elements
Mediavisual
Inherited1
Initial Valuenone

Standards information

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

See also

Reference
IHTMLCSSStyleDeclaration::strokeDasharray
IHTMLCSSStyleDeclaration::strokeDashoffset
IHTMLCSSStyleDeclaration::strokeLinecap
IHTMLCSSStyleDeclaration::strokeLinejoin
IHTMLCSSStyleDeclaration::strokeMiterlimit
IHTMLCSSStyleDeclaration::strokeOpacity
IHTMLCSSStyleDeclaration::strokeWidth
IHTMLCSSStyleDeclaration::fill

 

 

Community Additions

ADD
Show:
© 2015 Microsoft