PrinterCapabilitiesInfo.Builder.SetDuplexModes(DuplexMode, DuplexMode) 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.
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.