16 references to Custom
System.Drawing.Common (8)
System\Drawing\Printing\PageSettings.cs (2)
270if (_paperSize.Kind == PaperKind.Custom) 414PaperKind.Custom,
System\Drawing\Printing\PaperSize.cs (6)
26_kind = PaperKind.Custom; 44_kind = PaperKind.Custom; 58if (_kind != PaperKind.Custom && !_createdByDefaultConstructor) 74: PaperKind.Custom; 84if (_kind != PaperKind.Custom && !_createdByDefaultConstructor) 110if (_kind != PaperKind.Custom && !_createdByDefaultConstructor)
System.Drawing.Common.Tests (8)
System\Drawing\Printing\PaperSizeTests.cs (8)
37Assert.Equal(PaperKind.Custom, size.Kind); 51Assert.Equal(PaperKind.Custom, size.Kind); 62yield 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)]