Dil

PrinterCapabilitiesInfo.Builder.AddResolution Method

Definition

Adds a supported resolution.

[Android.Runtime.Register("addResolution", "(Landroid/print/PrintAttributes$Resolution;Z)Landroid/print/PrinterCapabilitiesInfo$Builder;", "")]
public Android.Print.PrinterCapabilitiesInfo.Builder AddResolution(Android.Print.PrintAttributes.Resolution resolution, bool isDefault);
[<Android.Runtime.Register("addResolution", "(Landroid/print/PrintAttributes$Resolution;Z)Landroid/print/PrinterCapabilitiesInfo$Builder;", "")>]
member this.AddResolution : Android.Print.PrintAttributes.Resolution * bool -> Android.Print.PrinterCapabilitiesInfo.Builder

Parameters

resolution
PrintAttributes.Resolution

A resolution. This value cannot be null.

isDefault
Boolean

Whether this is the default.

Returns

This builder. This value cannot be null.

Attributes

Remarks

Adds a supported resolution.

Required: Yes

Android reference for android.print.PrinterCapabilitiesInfo.Builder.addResolution.

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