Window.SetFormat(Format) Window.SetFormat(Format) Method

Definition

Set the format of window, as per the PixelFormat types.

[Android.Runtime.Register("setFormat", "(I)V", "GetSetFormat_IHandler")]
public virtual void SetFormat (Android.Graphics.Format format);
abstract member SetFormat : Android.Graphics.Format -> unit
override this.SetFormat : Android.Graphics.Format -> unit

Parameters

format
Format Format

The new window format (see PixelFormat). Use PixelFormat.UNKNOWN to allow the Window to select the format.

Remarks

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

See also