次の方法で共有


IXRShape::SetStrokeDashOffset (Compact 2013)

3/28/2014

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

See Also

Reference

IXRShape
IXRShape::GetStrokeDashOffSet