PrinterCapabilitiesInfo.Builder.AddResolution 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.
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.