PrintAttributes.MediaSize.AsPortrait 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 height is greater than or equal to its width.
[Android.Runtime.Register("asPortrait", "()Landroid/print/PrintAttributes$MediaSize;", "")]
public Android.Print.PrintAttributes.MediaSize AsPortrait();
[<Android.Runtime.Register("asPortrait", "()Landroid/print/PrintAttributes$MediaSize;", "")>]
member this.AsPortrait : unit -> Android.Print.PrintAttributes.MediaSize
Returns
New instance in portrait orientation if this one is in landscape, otherwise this instance. This value cannot be null.
- Attributes
Remarks
Returns a media size whose height is greater than or equal to its width. A square size is considered portrait.
Android reference for android.print.PrintAttributes.MediaSize.asPortrait.
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.