4 instantiations of DevMode
ReachFramework (4)
MS\Internal\Printing\Configuration\DevMode.cs (2)
392
DevMode result = new
DevMode
();
467
return new
DevMode
(devModeWBytes);
PrintConfig\FallbackPTProvider.cs (1)
305
InternalPrintTicket result = DevModeToPrintTicket(new
DevMode
(devMode), scope, DevModeFields.All);
PrintConfig\PrintSchemaShim.cs (1)
172
return new
DevMode
(Convert.FromBase64String(node.Value));
48 references to DevMode
ReachFramework (48)
MS\Internal\Printing\Configuration\DevMode.cs (10)
390
public
DevMode
Clone()
392
DevMode
result = new DevMode();
419
public void Copy(
DevMode
src, DevModeFields fields)
454
public static
DevMode
FromIntPtr(IntPtr devModeWPointer)
461
short dmSize = Marshal.ReadInt16(devModeWPointer,
DevMode
.DEVMODEW_dmSizeByteOffset);
462
short dmExtraSize = Marshal.ReadInt16(devModeWPointer,
DevMode
.DEVMODEW_dmDriverExtraByteOffset);
470
public bool CompatibleCopy(
DevMode
ticketDevMode)
472
if (
DevMode
.AreCompatible(this, ticketDevMode))
487
public static bool AreCompatible(
DevMode
a,
DevMode
b)
MS\Internal\Printing\Configuration\PRINTER_INFO_2.cs (1)
17
public
DevMode
pDevMode;
MS\Internal\Printing\Configuration\PRINTER_INFO_8_AND_9.cs (1)
14
public
DevMode
pDevMode;
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (2)
20
public WinSpoolPrinterCapabilities(string deviceName, string driverName, string portName,
DevMode
devMode)
302
public bool GetDefaultPaperSize(
DevMode
defaultDevMode, IList<short> paperSizeCodes, IList<DC_PAPER_SIZE> paperSizes, out DC_PAPER_SIZE defaultPaperSize)
PrintConfig\FallbackPTProvider.cs (16)
120
DevMode
defaultDevMode = GetDEVMODE(BaseDevModeType.UserDefault);
121
DevMode
devMode = defaultDevMode.Clone();
264
DevMode
defaultDevMode = GetDEVMODE(BaseDevModeType.PrinterDefault);
267
DevMode
baseDevMode = defaultDevMode.Clone();
271
DevMode
deltaDevMode = defaultDevMode.Clone();
333
DevMode
result = GetDEVMODE(baseType);
410
private bool Validate(
DevMode
devMode)
416
DevMode
originalDevMode = devMode.Clone();
465
private void PrintTicketToDevMode(
DevMode
devMode, InternalPrintTicket ticket, PrintTicketScope scope, DevModeFields supportedFields)
470
DevMode
ticketDevMode = PrintSchemaShim.TryGetEmbeddedDevMode(ticket, this.OemDriverNamespace);
480
private InternalPrintTicket DevModeToPrintTicket(
DevMode
devmode, PrintTicketScope scope, DevModeFields supportedFields)
488
private WinSpoolPrinterCapabilities GetCapabilities(
DevMode
devMode)
535
private
DevMode
GetDEVMODE(BaseDevModeType baseType)
537
DevMode
result;
779
PRINTER_INFO_2.pDevMode =
DevMode
.FromIntPtr(pDevMode);
824
PRINTER_INFO_8_AND_9.pDevMode =
DevMode
.FromIntPtr(pDevMode);
PrintConfig\PrintSchemaShim.cs (18)
110
public static bool TryEmbedDevMode(InternalPrintTicket ticket, string oemDriverNamespace,
DevMode
devMode)
151
public static
DevMode
TryGetEmbeddedDevMode(InternalPrintTicket ticket, string oemDriverNamespace)
187
public static void CopyDevModeToTicket(InternalPrintTicket baseTicket,
DevMode
deltaDevMode, PrintTicketScope scope, DevModeFields supportedFields)
279
public static void CopyTicketToDevMode(
DevMode
baseDevMode, InternalPrintTicket deltaTicket, PrintTicketScope scope, DevModeFields supportedFields)
406
public static bool PruneFeatures(
DevMode
inDevMode, WinSpoolPrinterCapabilities capabilities)
515
private static void SetCollate(
DevMode
devMode, Collation collation)
534
private static void SetColor(
DevMode
devMode, OutputColor outputColor)
559
private static void SetCopies(
DevMode
devMode, int copyCount)
573
private static void SetDuplex(
DevMode
devMode, Duplexing duplexing)
670
private static void SetDefaultSource(
DevMode
devMode, InputBin inputBin)
767
private static void SetPaperSize(
DevMode
devMode, PageMediaSizeName pageMediaSizeName)
772
private static void SetPageHeight(
DevMode
devMode, double pageHeightInDIPs)
777
private static void SetPageWidth(
DevMode
devMode, double pageWidthInDIPs)
906
private static void SetMediaType(
DevMode
devMode, PageMediaType pageMediaType)
950
private static void SetOrientation(
DevMode
devMode, PageOrientation pageOrientation)
987
private static void SetPrintQuality(
DevMode
devMode, PageQualitativeResolution qualitativeResolution, int dpiX, int dpiY, DevModeFields supportedFields)
1071
private static void SetScale(
DevMode
devMode, int scale)
1114
private static void SetTTOption(
DevMode
devMode, DeviceFontSubstitution fontSubstitution, TrueTypeFontMode trueTypeFontMode)