2 writes to PaperSize
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PageSettingsTests.cs (1)
42
PaperSize
= new PaperSize("My Custom Size", 222, 333)
System\Drawing\Printing\PrintDocumentTests.cs (1)
32
PaperSize
= new PaperSize()
16 references to PaperSize
System.Drawing.Common (1)
System\Drawing\Printing\PageSettings.cs (1)
499
$"[{nameof(PageSettings)}: Color={Color}, Landscape={Landscape}, Margins={Margins}, PaperSize={
PaperSize
}, PaperSource={PaperSource}, PrinterResolution={PrinterResolution}]";
System.Drawing.Common.Tests (15)
System\Drawing\Printing\PageSettingsTests.cs (8)
52
Assert.Equal(ps.
PaperSize
.PaperName, clone.
PaperSize
.PaperName);
53
Assert.Equal(ps.
PaperSize
.Width, clone.
PaperSize
.Width);
54
Assert.Equal(ps.
PaperSize
.Height, clone.
PaperSize
.Height);
55
Assert.Equal(ps.
PaperSize
.Kind, clone.
PaperSize
.Kind);
System\Drawing\Printing\PrintDocumentTests.cs (7)
55
Assert.Equal(_pageSettings.
PaperSize
.Kind, _pageSettings.
PaperSize
.Kind);
117
document.PrinterSettings.DefaultPageSettings.
PaperSize
.Kind,
118
document.DefaultPageSettings.
PaperSize
.Kind);
123
_pageSettings.
PaperSize
.Kind,
124
document.DefaultPageSettings.
PaperSize
.Kind);
235
switch (pageSettings.
PaperSize
.Kind)