PrintAttributes.MediaSize(String, String, Int32, Int32) Constructor

Definition

Creates a new instance.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;II)V", "")]
public MediaSize (string id, string label, int widthMils, int heightMils);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;II)V", "")>]
new Android.Print.PrintAttributes.MediaSize : string * string * int * int -> Android.Print.PrintAttributes.MediaSize

Parameters

id
String

The unique media size id. It is unique amongst other media sizes supported by the printer.

label
String

The <strong>localized</strong> human readable label.

widthMils
Int32

The width in mils (thousandths of an inch).

heightMils
Int32

The height in mils (thousandths of an inch).

Attributes

Remarks

Creates a new instance.

Java documentation for android.print.PrintAttributes.MediaSize.PrintAttributes$MediaSize(java.lang.String, java.lang.String, int, int).

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