strokeWidth property

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

 

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

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

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