Sdílet prostřednictvím


DngCreator.SetOrientation(Orientation) Method

Definition

Set the orientation value to write.

[Android.Runtime.Register("setOrientation", "(I)Landroid/hardware/camera2/DngCreator;", "")]
public Android.Hardware.Camera2.DngCreator SetOrientation (Android.Media.Orientation orientation);
[<Android.Runtime.Register("setOrientation", "(I)Landroid/hardware/camera2/DngCreator;", "")>]
member this.SetOrientation : Android.Media.Orientation -> Android.Hardware.Camera2.DngCreator

Parameters

orientation
Orientation

the orientation value to set, one of: <ul> <li>android.media.ExifInterface#ORIENTATION_NORMAL</li> <li>android.media.ExifInterface#ORIENTATION_FLIP_HORIZONTAL</li> <li>android.media.ExifInterface#ORIENTATION_ROTATE_180</li> <li>android.media.ExifInterface#ORIENTATION_FLIP_VERTICAL</li> <li>android.media.ExifInterface#ORIENTATION_TRANSPOSE</li> <li>android.media.ExifInterface#ORIENTATION_ROTATE_90</li> <li>android.media.ExifInterface#ORIENTATION_TRANSVERSE</li> <li>android.media.ExifInterface#ORIENTATION_ROTATE_270</li> </ul>

Returns

this #DngCreator object.

Attributes

Remarks

Set the orientation value to write.

This will be written as the TIFF "Orientation" tag (0x0112). Calling this will override any prior settings for this tag.

Java documentation for android.hardware.camera2.DngCreator.setOrientation(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to