Share via


IHTMLStyle7::strokeDashoffset Property

New for Internet Explorer 9

[This documentation is preliminary and is subject to change.]

Gets or sets a value that specifies the distance into the dash pattern to start the dash.

Syntax

HRESULT IHTMLStyle7::get_strokeDashoffset(VARIANT *p);
HRESULT IHTMLStyle7::put_strokeDashoffset(VARIANT v);

Parameters

  • p
    Pointer to a variable of type VARIANT that receives one of the values listed in Possible Values.
  • v
    VARIANT that specifies one of the values listed in Possible Values.

Possible Values

inherit Indicates that the property takes the same computed value as the property for the element's parent.
percentage An integer, followed by a % sign. The value is a percentage of the current viewport.
length A floating-point number, followed by either an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px), that indicates the distance into the dash pattern to start the dash. (For more information about the supported length units, see CSS Length Units Reference.)

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Values can be negative.

See Also

IHTMLStyle7::stroke, IHTMLStyle7::strokeDasharray, IHTMLStyle7::strokeLinecap, IHTMLStyle7::strokeLinejoin, IHTMLStyle7::strokeMiterlimit, IHTMLStyle7::strokeOpacity, IHTMLStyle7::strokeWidth