5 instantiations of PaperSource
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
65new System.Drawing.Printing.PaperSource(),
System.Drawing.Common (1)
System\Drawing\Printing\PageSettings.cs (1)
436return new PaperSource((PaperSourceKind)devmode->dmDefaultSource, "unknown");
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PaperSourceTests.cs (3)
36PaperSource source = new(); 63PaperSource source = new() 82PaperSource source = new()
20 references to PaperSource
System.Drawing (1)
System.Drawing.cs (1)
115[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PaperSource))]
System.Drawing.Common (16)
System\Drawing\Printing\PageSettings.cs (5)
14private PaperSource? _paperSource; 123public PaperSource PaperSource 135PaperSource result = PaperSourceFromMode(devmode); 420private PaperSource PaperSourceFromMode(DEVMODEW* devmode) 422PaperSource[] sources = _printerSettings.Get_PaperSources();
System\Drawing\Printing\PaperSource.cs (1)
15/// Initializes a new instance of the <see cref='PaperSource'/> class with default properties.
System\Drawing\Printing\PrinterSettings.cs (3)
894internal unsafe PaperSource[] Get_PaperSources() 927PaperSource[] paperSources = new PaperSource[count];
System\Drawing\Printing\PrinterSettings.PaperSourceCollection.cs (7)
13private PaperSource[] _array; 18public PaperSourceCollection(PaperSource[] array) 31public virtual PaperSource this[int index] => _array[index]; 43public void CopyTo(PaperSource[] paperSources, int index) => Array.Copy(_array, index, paperSources, 0, _array.Length); 48public int Add(PaperSource paperSource) 50PaperSource[] newArray = new PaperSource[Count + 1];
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PaperSourceTests.cs (3)
36PaperSource source = new(); 63PaperSource source = new() 82PaperSource source = new()