PrintAttributes.MediaSize.AsLandscape Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a media size whose width is greater than or equal to its height.
[Android.Runtime.Register("asLandscape", "()Landroid/print/PrintAttributes$MediaSize;", "")]
public Android.Print.PrintAttributes.MediaSize AsLandscape();
[<Android.Runtime.Register("asLandscape", "()Landroid/print/PrintAttributes$MediaSize;", "")>]
member this.AsLandscape : unit -> Android.Print.PrintAttributes.MediaSize
Returns
A new instance if this size is in portrait orientation; otherwise, this instance. This value cannot be null.
- Attributes
Remarks
Returns a media size whose width is greater than or equal to its height. A square size is considered portrait, so this method creates a new square instance for it.
Android reference for android.print.PrintAttributes.MediaSize.asLandscape.
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.