Language

Picture.Width Property

Definition

Get the width of the picture as passed to beginRecording.

public virtual int Width { [Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")] get; }
[<get: Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")>]
member this.Width : int

Property Value

The picture's reported recording width, not the measured bounds of drawn content.

Attributes

Remarks

Get the width of the picture as passed to beginRecording. This does not reflect (per se) the content of the picture.

Java documentation for android.graphics.Picture.getWidth().

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