stroke property

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

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 To shapes and text content elements
Media visual
Inherited 1
Initial Value none

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::strokeDasharray

IHTMLCSSStyleDeclaration::strokeDashoffset

IHTMLCSSStyleDeclaration::strokeLinecap

IHTMLCSSStyleDeclaration::strokeLinejoin

IHTMLCSSStyleDeclaration::strokeMiterlimit

IHTMLCSSStyleDeclaration::strokeOpacity

IHTMLCSSStyleDeclaration::strokeWidth

IHTMLCSSStyleDeclaration::fill