1 write to _devmodeBytes
System.Drawing.Common (1)
System\Drawing\Printing\PrinterSettings.cs (1)
992_devmodeBytes = devmode->dmSize;
4 references to _devmodeBytes
System.Drawing.Common (4)
System\Drawing\Printing\PrinterSettings.cs (4)
640Marshal.Copy(_cachedDevmode, 0, (nint)devmode, _devmodeBytes); 993if (_devmodeBytes > 0) 995_cachedDevmode = new byte[_devmodeBytes]; 996Marshal.Copy((nint)devmode, _cachedDevmode, 0, _devmodeBytes);