16 references to Custom
System.Drawing.Common (8)
System\Drawing\Printing\PageSettings.cs (2)
270
if (_paperSize.Kind == PaperKind.
Custom
)
414
PaperKind.
Custom
,
System\Drawing\Printing\PaperSize.cs (6)
26
_kind = PaperKind.
Custom
;
44
_kind = PaperKind.
Custom
;
58
if (_kind != PaperKind.
Custom
&& !_createdByDefaultConstructor)
74
: PaperKind.
Custom
;
84
if (_kind != PaperKind.
Custom
&& !_createdByDefaultConstructor)
110
if (_kind != PaperKind.
Custom
&& !_createdByDefaultConstructor)
System.Drawing.Common.Tests (8)
System\Drawing\Printing\PaperSizeTests.cs (8)
37
Assert.Equal(PaperKind.
Custom
, size.Kind);
51
Assert.Equal(PaperKind.
Custom
, size.Kind);
62
yield return new object[] { (int)PaperKind.
Custom
};
157
[InlineData((int)PaperKind.
Custom
, PaperKind.
Custom
)]
160
[InlineData(999999, PaperKind.
Custom
)]
161
[InlineData(int.MaxValue, PaperKind.
Custom
)]
162
[InlineData(1 + (int)PaperKind.PrcEnvelopeNumber10Rotated, PaperKind.
Custom
)]