Pegasus Class Library Help
Gets or sets the device angle.

Namespace:  Pegasus.Library
Assembly:  PegasusClassLibrary (in PegasusClassLibrary.dll) Version: 4.0.0.0 (4.0.12.0)

Syntax

C#
public float DeviceAngle { get; set; }
Visual Basic (Declaration)
Public Property DeviceAngle As Single
Visual C++
public:
property float DeviceAngle {
	float get ();
	void set (float value);
}

Field Value

The device angle, in Degrees.

Remarks

This property is relevant only for devices which support Orientation. See OrientationSupport for details. The device native position is straight above the page. locating the device in other position and angle must set accordingly. There are few predefined settings for the DeviceAngle, one for each DevicePosition state. When changing the value of the DeviceAngle, the DevicePosition value is changed automatically to Custom. The DeviceAngle value should be changed only if the receiver location is not one of its predefined positions, or to fine tuning the accuracy of the received values.Changing DevicePosition to any other predefined values, will reset the DeviceAngle back to it's predefined value.Note! There is no need to change the DevicePosition to the Custom value. Attempting to do so, will throw an exception.

See Also