←Select platform

RotationChanged Event

Summary

Occurs when the device rotation is changed.

Xamarin Framework Deprecation

As of LEADTOOLS v23, The cross-platform Xamarin framework has been deprecated and replaced with LEADTOOLS .NET MAUI framework.

For any LEADTOOLS Xamarin apps you have already built, we recommend you migrate to the LEADTOOLS .NET MAUI framework. To help you with the migration, review the LEADTOOLS .NET MAUI tutorials to get you started.

This change is driven by Microsoft's announcement to end Xamarin support.

Syntax

C#
public event RotationHandler RotationChanged;  

Event Data

The event handler receives an argument of type RotationEventArgs containing data related to this event. The following RotationEventArgs properties provide information specific to this event.

Property Description
RotationEventArgs.CurrentOrientation The current orientation of the mobile device
RotationEventArgs.InitialAngle Gets the initial or natural orientation of the mobile device.

Requirements

Target Platforms

See Also

Reference

CameraView Class

CameraView Members

Leadtools.Camera.Xamarin Namespace

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Camera.Xamarin Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.