10 references to Duplex
System.Drawing (10)
commonui\System\Drawing\Printing\PrinterSettings.cs (10)
53
private
Duplex
duplex = System.Drawing.Printing.
Duplex
.Default;
170
public
Duplex
Duplex {
172
if (duplex !=
Duplex
.Default)
175
return(
Duplex
) GetModeField(ModeField.Duplex, SafeNativeMethods.DMDUP_SIMPLEX);
179
if (!ClientUtils.IsEnumValid(value, unchecked((int)value), unchecked((int)
Duplex
.Default), unchecked((int)
Duplex
.Horizontal)))
181
throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(
Duplex
));
1340
duplex = (
Duplex
) mode.dmDuplex;
1389
+ " Duplex=" + TypeDescriptor.GetConverter(typeof(
Duplex
)).ConvertToString(unchecked((int) Duplex))