PrintAttributes.MediaSize.IsPortrait Property

Definition

Gets whether this media size is in portrait which is the height is greater or equal to the width.

public bool IsPortrait { [Android.Runtime.Register("isPortrait", "()Z", "")] get; }
[<get: Android.Runtime.Register("isPortrait", "()Z", "")>]
member this.IsPortrait : bool

Property Value

True if the media size is in portrait, false if it is in landscape.

Attributes

Remarks

Gets whether this media size is in portrait which is the height is greater or equal to the width.

Java documentation for android.print.PrintAttributes.MediaSize.isPortrait().

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