Click or drag to resize
CanvasSvgDocument.CreateStrokeDashArrayAttribute Method (Single[],CanvasSvgLengthUnits[])
[Win10_15063] Creates an attribute that can be used as a stroke-dasharray vlalue.

Namespace:  Microsoft.Graphics.Canvas.Svg
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasSvgStrokeDashArrayAttribute CreateStrokeDashArrayAttribute(
	float[] dashValues,
	CanvasSvgLengthUnits[] unitValues
)

Parameters

dashValues
Type:System.Single[]
unitValues
Type:Microsoft.Graphics.Canvas.Svg.CanvasSvgLengthUnits[]

Return Value

Type: CanvasSvgStrokeDashArrayAttribute
Remarks

This API is only available when running on Windows 10 build 15063 (Creators Update) or greater.

See Also