15 references to PrinterResolutionKind
System.Drawing (1)
System.Drawing.cs (1)
123
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.
PrinterResolutionKind
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
2993
public System.Drawing.Printing.
PrinterResolutionKind
Kind { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (13)
System\Drawing\Printing\PrintDocumentTests.cs (1)
246
Assert.True(Enum.IsDefined(typeof(
PrinterResolutionKind
), pageSettings.PrinterResolution.Kind));
System\Drawing\Printing\PrinterResolutionTests.cs (12)
14
Assert.Equal(
PrinterResolutionKind
.Custom, resolution.Kind);
58
[InlineData(
PrinterResolutionKind
.Custom)]
59
[InlineData(
PrinterResolutionKind
.Draft)]
60
[InlineData(
PrinterResolutionKind
.High)]
61
[InlineData(
PrinterResolutionKind
.Low)]
62
[InlineData(
PrinterResolutionKind
.Medium)]
63
public void Kind_Set_GetReturnsExpected(
PrinterResolutionKind
value)
77
[InlineData(
PrinterResolutionKind
.Custom + 1)]
78
[InlineData(
PrinterResolutionKind
.High - 1)]
79
public void Kind_SetInvalid_ThrowsInvalidEnumArgumentException(
PrinterResolutionKind
value)
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]" };