Språk

PrinterCapabilitiesInfo.Builder.SetDuplexModes(DuplexMode, DuplexMode) Method

Definition

Sets the duplex modes.

[Android.Runtime.Register("setDuplexModes", "(II)Landroid/print/PrinterCapabilitiesInfo$Builder;", "", ApiSince=23)]
public Android.Print.PrinterCapabilitiesInfo.Builder SetDuplexModes(Android.Print.DuplexMode duplexModes, Android.Print.DuplexMode defaultDuplexMode);
[<Android.Runtime.Register("setDuplexModes", "(II)Landroid/print/PrinterCapabilitiesInfo$Builder;", "", ApiSince=23)>]
member this.SetDuplexModes : Android.Print.DuplexMode * Android.Print.DuplexMode -> Android.Print.PrinterCapabilitiesInfo.Builder

Parameters

duplexModes
DuplexMode

The duplex mode bit mask. Value is either 0 or a combination of the following: PrintAttributes.DUPLEX_MODE_NONE; PrintAttributes.DUPLEX_MODE_LONG_EDGE; PrintAttributes.DUPLEX_MODE_SHORT_EDGE

defaultDuplexMode
DuplexMode

The default duplex mode. Must be exactly one of the following: PrintAttributes.DUPLEX_MODE_NONE; PrintAttributes.DUPLEX_MODE_LONG_EDGE; PrintAttributes.DUPLEX_MODE_SHORT_EDGE

Returns

This builder. This value cannot be null.

Attributes

Remarks

Sets the duplex modes.

Required: No

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

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