PrintAttributes.MediaSize(String, String, Int32, Int32) Constructor
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.
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.
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.