Click or drag to resize
CanvasSvgNamedElement.GetAspectRatioAttribute 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: System.String
meetOrSlice
Type: Microsoft.Graphics.Canvas.Svg.CanvasSvgAspectScaling

Return Value

Type: CanvasSvgAspectAlignment
Remarks

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

See Also