Compartilhar via


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

Definition

Creates a new instance.

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

Parameters

id
String

The unique resolution id. It is unique amongst other resolutions supported by the printer.

label
String

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

horizontalDpi
Int32

The horizontal resolution in DPI (dots per inch).

verticalDpi
Int32

The vertical resolution in DPI (dots per inch).

Attributes

Remarks

Creates a new instance.

Java documentation for android.print.PrintAttributes.Resolution.PrintAttributes$Resolution(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