Click or drag to resize
CanvasSvgNamedElementGetAspectRatioAttribute Method
[Win10_15063] Gets an aspect ratio attribute, retrieving both the alignment and scaling.

Namespace:  Microsoft.Graphics.Canvas.Svg
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasSvgAspectAlignment GetAspectRatioAttribute(
	string attributeName,
	out CanvasSvgAspectScaling meetOrSlice
)

Parameters

attributeName
Type: SystemString
meetOrSlice
Type: Microsoft.Graphics.Canvas.SvgCanvasSvgAspectScaling

Return Value

Type: CanvasSvgAspectAlignment
Remarks

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

See Also