4 instantiations of DevMode
ReachFramework (4)
MS\Internal\Printing\Configuration\DevMode.cs (2)
395
DevMode result = new
DevMode
();
470
return new
DevMode
(devModeWBytes);
PrintConfig\FallbackPTProvider.cs (1)
309
InternalPrintTicket result = DevModeToPrintTicket(new
DevMode
(devMode), scope, DevModeFields.All);
PrintConfig\PrintSchemaShim.cs (1)
176
return new
DevMode
(Convert.FromBase64String(node.Value));
48 references to DevMode
ReachFramework (48)
MS\Internal\Printing\Configuration\DevMode.cs (10)
393
public
DevMode
Clone()
395
DevMode
result = new DevMode();
422
public void Copy(
DevMode
src, DevModeFields fields)
457
public static
DevMode
FromIntPtr(IntPtr devModeWPointer)
464
short dmSize = Marshal.ReadInt16(devModeWPointer,
DevMode
.DEVMODEW_dmSizeByteOffset);
465
short dmExtraSize = Marshal.ReadInt16(devModeWPointer,
DevMode
.DEVMODEW_dmDriverExtraByteOffset);
473
public bool CompatibleCopy(
DevMode
ticketDevMode)
475
if (
DevMode
.AreCompatible(this, ticketDevMode))
490
public static bool AreCompatible(
DevMode
a,
DevMode
b)
MS\Internal\Printing\Configuration\PRINTER_INFO_2.cs (1)
20
public
DevMode
pDevMode;
MS\Internal\Printing\Configuration\PRINTER_INFO_8_AND_9.cs (1)
17
public
DevMode
pDevMode;
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (2)
23
public WinSpoolPrinterCapabilities(string deviceName, string driverName, string portName,
DevMode
devMode)
305
public bool GetDefaultPaperSize(
DevMode
defaultDevMode, IList<short> paperSizeCodes, IList<DC_PAPER_SIZE> paperSizes, out DC_PAPER_SIZE defaultPaperSize)
PrintConfig\FallbackPTProvider.cs (16)
124
DevMode
defaultDevMode = GetDEVMODE(BaseDevModeType.UserDefault);
125
DevMode
devMode = defaultDevMode.Clone();
268
DevMode
defaultDevMode = GetDEVMODE(BaseDevModeType.PrinterDefault);
271
DevMode
baseDevMode = defaultDevMode.Clone();
275
DevMode
deltaDevMode = defaultDevMode.Clone();
337
DevMode
result = GetDEVMODE(baseType);
414
private bool Validate(
DevMode
devMode)
420
DevMode
originalDevMode = devMode.Clone();
469
private void PrintTicketToDevMode(
DevMode
devMode, InternalPrintTicket ticket, PrintTicketScope scope, DevModeFields supportedFields)
474
DevMode
ticketDevMode = PrintSchemaShim.TryGetEmbeddedDevMode(ticket, this.OemDriverNamespace);
484
private InternalPrintTicket DevModeToPrintTicket(
DevMode
devmode, PrintTicketScope scope, DevModeFields supportedFields)
492
private WinSpoolPrinterCapabilities GetCapabilities(
DevMode
devMode)
539
private
DevMode
GetDEVMODE(BaseDevModeType baseType)
541
DevMode
result;
783
PRINTER_INFO_2.pDevMode =
DevMode
.FromIntPtr(pDevMode);
828
PRINTER_INFO_8_AND_9.pDevMode =
DevMode
.FromIntPtr(pDevMode);
PrintConfig\PrintSchemaShim.cs (18)
114
public static bool TryEmbedDevMode(InternalPrintTicket ticket, string oemDriverNamespace,
DevMode
devMode)
155
public static
DevMode
TryGetEmbeddedDevMode(InternalPrintTicket ticket, string oemDriverNamespace)
191
public static void CopyDevModeToTicket(InternalPrintTicket baseTicket,
DevMode
deltaDevMode, PrintTicketScope scope, DevModeFields supportedFields)
283
public static void CopyTicketToDevMode(
DevMode
baseDevMode, InternalPrintTicket deltaTicket, PrintTicketScope scope, DevModeFields supportedFields)
410
public static bool PruneFeatures(
DevMode
inDevMode, WinSpoolPrinterCapabilities capabilities)
519
private static void SetCollate(
DevMode
devMode, Collation collation)
538
private static void SetColor(
DevMode
devMode, OutputColor outputColor)
563
private static void SetCopies(
DevMode
devMode, int copyCount)
577
private static void SetDuplex(
DevMode
devMode, Duplexing duplexing)
674
private static void SetDefaultSource(
DevMode
devMode, InputBin inputBin)
771
private static void SetPaperSize(
DevMode
devMode, PageMediaSizeName pageMediaSizeName)
776
private static void SetPageHeight(
DevMode
devMode, double pageHeightInDIPs)
781
private static void SetPageWidth(
DevMode
devMode, double pageWidthInDIPs)
910
private static void SetMediaType(
DevMode
devMode, PageMediaType pageMediaType)
954
private static void SetOrientation(
DevMode
devMode, PageOrientation pageOrientation)
991
private static void SetPrintQuality(
DevMode
devMode, PageQualitativeResolution qualitativeResolution, int dpiX, int dpiY, DevModeFields supportedFields)
1075
private static void SetScale(
DevMode
devMode, int scale)
1118
private static void SetTTOption(
DevMode
devMode, DeviceFontSubstitution fontSubstitution, TrueTypeFontMode trueTypeFontMode)