27 references to PaperKind
System.Drawing (1)
System.Drawing.cs (1)
113
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.
PaperKind
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
2890
public System.Drawing.Printing.
PaperKind
Kind { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (25)
System\Drawing\Printing\PaperSizeTests.cs (22)
37
Assert.Equal(
PaperKind
.Custom, size.Kind);
51
Assert.Equal(
PaperKind
.Custom, size.Kind);
60
yield return new object[] { (int)
PaperKind
.A4 };
61
yield return new object[] { (int)
PaperKind
.JapaneseEnvelopeKakuNumber3 };
62
yield return new object[] { (int)
PaperKind
.Custom };
68
yield return new object[] { 1 + (int)
PaperKind
.PrcEnvelopeNumber10Rotated };
99
yield return new object[] { (int)
PaperKind
.A4 };
100
yield return new object[] { (int)
PaperKind
.JapaneseEnvelopeKakuNumber3 };
105
yield return new object[] { 1 + (int)
PaperKind
.PrcEnvelopeNumber10Rotated };
157
[InlineData((int)
PaperKind
.Custom,
PaperKind
.Custom)]
158
[InlineData((int)
PaperKind
.A4,
PaperKind
.A4)]
159
[InlineData((int)
PaperKind
.JapaneseEnvelopeKakuNumber3,
PaperKind
.JapaneseEnvelopeKakuNumber3)]
160
[InlineData(999999,
PaperKind
.Custom)]
161
[InlineData(int.MaxValue,
PaperKind
.Custom)]
162
[InlineData(1 + (int)
PaperKind
.PrcEnvelopeNumber10Rotated,
PaperKind
.Custom)]
163
[InlineData(-1, (
PaperKind
)(-1))]
164
[InlineData(int.MinValue, (
PaperKind
)int.MinValue)]
165
public void RawKind_Set_GetReturnsExpected(int value,
PaperKind
expectedKind)
System\Drawing\Printing\PrintDocumentTests.cs (3)
34
RawKind = (int)
PaperKind
.A3
237
case
PaperKind
.A4:
241
case
PaperKind
.Letter: