Partager via


IXRShape::GetStrokeDashOffSet (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetStrokeDashOffset(
    float *pStrokeDashOffset
) = 0;

Parameters

  • pStrokeDashOffset
    [out] Pointer to a float value that represents the 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 may 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::SetStrokeDashOffset