| GraphicsToolsIsAspectChanging Method |
Gets a value that indicates if the aspect ratio is changing as part of the orientation change.
Namespace: Microsoft.IoT.DeviceCore.DisplayAssembly: 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
)
Public Shared Function IsAspectChanging (
oldOrientation As DisplayOrientations,
newOrientation As DisplayOrientations
) As Boolean
public:
static bool IsAspectChanging(
[InAttribute] DisplayOrientations oldOrientation,
[InAttribute] DisplayOrientations newOrientation
)
static member IsAspectChanging :
oldOrientation : DisplayOrientations *
newOrientation : DisplayOrientations -> bool
Parameters
- oldOrientation
- Type: Windows.Graphics.DisplayDisplayOrientations
The old orientation.
- newOrientation
- Type: Windows.Graphics.DisplayDisplayOrientations
The new orientation.
Return Value
Type:
Booleantrue if the aspect ratio is changing as part of the orientation change; otherwise
false.
See Also