Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
top
Expand Minimize

strokeWidth property

Sets or retrieves a value that specifies the width of the stroke on the current object.

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

 

Syntax

HRESULT value = object.put_strokeWidth( v);HRESULT value = object.get_strokeWidth(* p);

Property values

Type: VARIANT

One of the values in the Property Values section.

String format

<percentage> | <length> | inherit

CSS information

Applies Toshapes and text content elements
Mediavisual
Inherited1
Initial Value1

Standards information

Remarks

A length value of 0 causes no stroke to be painted. A negative value is an error.

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::stroke
IHTMLCSSStyleDeclaration::strokeDasharray
IHTMLCSSStyleDeclaration::strokeDashoffset
IHTMLCSSStyleDeclaration::strokeLinecap
IHTMLCSSStyleDeclaration::strokeLinejoin
IHTMLCSSStyleDeclaration::strokeMiterlimit
IHTMLCSSStyleDeclaration::strokeOpacity

 

 

Community Additions

ADD
Show:
© 2015 Microsoft