Surface.SetOrientation(Int32, SurfaceOrientation) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定所附顯示器的方向。
[Android.Runtime.Register("setOrientation", "(II)V", "")]
public static void SetOrientation(int display, Android.Views.SurfaceOrientation orientation);
[<Android.Runtime.Register("setOrientation", "(II)V", "")>]
static member SetOrientation : int * Android.Views.SurfaceOrientation -> unit
參數
- display
- Int32
用於顯示的 System.Int32 值。
- orientation
- SurfaceOrientation
用於方向的 Android.Views.SurfaceOrientation 值。
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。