PrinterCapabilitiesInfo.Builder.AddMediaSize 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 media size.
[Android.Runtime.Register("addMediaSize", "(Landroid/print/PrintAttributes$MediaSize;Z)Landroid/print/PrinterCapabilitiesInfo$Builder;", "")]
public Android.Print.PrinterCapabilitiesInfo.Builder AddMediaSize(Android.Print.PrintAttributes.MediaSize mediaSize, bool isDefault);
[<Android.Runtime.Register("addMediaSize", "(Landroid/print/PrintAttributes$MediaSize;Z)Landroid/print/PrinterCapabilitiesInfo$Builder;", "")>]
member this.AddMediaSize : Android.Print.PrintAttributes.MediaSize * bool -> Android.Print.PrinterCapabilitiesInfo.Builder
Parameters
- mediaSize
- PrintAttributes.MediaSize
A media size. 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 media size.
Required: Yes
Android reference for android.print.PrinterCapabilitiesInfo.Builder.addMediaSize.
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.