10 instantiations of PrinterResolution
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
59
new System.Drawing.Printing.
PrinterResolution
(),
System.Drawing.Common.Tests (9)
System\Drawing\Printing\PrinterResolutionTests.cs (9)
13
PrinterResolution resolution =
new
();
27
PrinterResolution resolution =
new
()
46
PrinterResolution resolution =
new
()
65
PrinterResolution resolution =
new
()
81
PrinterResolution resolution =
new
();
87
yield return new object[] { new
PrinterResolution
(), "[PrinterResolution X=0 Y=0]" };
88
yield return new object[] { new
PrinterResolution
{ X = -1, Y = -2 }, "[PrinterResolution X=-1 Y=-2]" };
89
yield return new object[] { new
PrinterResolution
{ Kind = PrinterResolutionKind.High }, "[PrinterResolution High]" };
90
yield return new object[] { new
PrinterResolution
{ X = 1, Y = 2, Kind = PrinterResolutionKind.High }, "[PrinterResolution High]" };
12 references to PrinterResolution
System.Drawing (1)
System.Drawing.cs (1)
122
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.
PrinterResolution
))]
System.Drawing.Common (5)
Special\NotSupported.cs (5)
2756
public System.Drawing.Printing.
PrinterResolution
PrinterResolution { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
3081
public PrinterResolutionCollection(System.Drawing.Printing.
PrinterResolution
[] array) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3083
public virtual System.Drawing.Printing.
PrinterResolution
this[int index] { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
3088
public int Add(System.Drawing.Printing.
PrinterResolution
printerResolution) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3089
public void CopyTo(System.Drawing.Printing.
PrinterResolution
[] printerResolutions, int index) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (6)
System\Drawing\Printing\PrinterResolutionTests.cs (6)
13
PrinterResolution
resolution = new();
27
PrinterResolution
resolution = new()
46
PrinterResolution
resolution = new()
65
PrinterResolution
resolution = new()
81
PrinterResolution
resolution = new();
95
public void ToString_Invoke_ReturnsExpected(
PrinterResolution
resolution, string expected)