Click or drag to resize
GraphicsToolsIsAspectChanging Method
Gets a value that indicates if the aspect ratio is changing as part of the orientation change.

Namespace: Microsoft.IoT.DeviceCore.Display
Assembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool IsAspectChanging(
	DisplayOrientations oldOrientation,
	DisplayOrientations newOrientation
)

Parameters

oldOrientation
Type: Windows.Graphics.DisplayDisplayOrientations
The old orientation.
newOrientation
Type: Windows.Graphics.DisplayDisplayOrientations
The new orientation.

Return Value

Type: Boolean
true if the aspect ratio is changing as part of the orientation change; otherwise false.
See Also