2 writes to PaperSize
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PageSettingsTests.cs (1)
42PaperSize = new PaperSize("My Custom Size", 222, 333)
System\Drawing\Printing\PrintDocumentTests.cs (1)
32PaperSize = new PaperSize()
15 references to PaperSize
System.Drawing.Common.Tests (15)
System\Drawing\Printing\PageSettingsTests.cs (8)
52Assert.Equal(ps.PaperSize.PaperName, clone.PaperSize.PaperName); 53Assert.Equal(ps.PaperSize.Width, clone.PaperSize.Width); 54Assert.Equal(ps.PaperSize.Height, clone.PaperSize.Height); 55Assert.Equal(ps.PaperSize.Kind, clone.PaperSize.Kind);
System\Drawing\Printing\PrintDocumentTests.cs (7)
55Assert.Equal(_pageSettings.PaperSize.Kind, _pageSettings.PaperSize.Kind); 117document.PrinterSettings.DefaultPageSettings.PaperSize.Kind, 118document.DefaultPageSettings.PaperSize.Kind); 123_pageSettings.PaperSize.Kind, 124document.DefaultPageSettings.PaperSize.Kind); 235switch (pageSettings.PaperSize.Kind)