Share via


IXRShape::SetStrokeDashOffset (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that specifies the distance within the dash pattern where a dash begins.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetStrokeDashOffset(
    float StrokeDashOffset
) = 0; 

Parameters

  • StrokeDashOffset
    [in] A float value that specifies the new distance within the dash pattern where a dash begins.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This setting applies to a dash in the outline of a shape object.

Generally, you should use integral numeric values for this property. Non-integral values can cause sub-pixel rendering, and might alter the apparent color of the stroke.

.NET Framework Equivalent

System.Windows.Shapes.Shape.StrokeDashOffset

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRShape
IXRShape::GetStrokeDashOffSet