9 references to Custom
System.Drawing.Common (6)
System\Drawing\Printing\PageSettings.cs (2)
295if (_printerResolution.Kind == PrinterResolutionKind.Custom) 464PrinterResolutionKind.Custom,
System\Drawing\Printing\PrinterResolution.cs (3)
20_kind = PrinterResolutionKind.Custom; 38if (value is < PrinterResolutionKind.High or > PrinterResolutionKind.Custom) 57public override string ToString() => _kind != PrinterResolutionKind.Custom
System\Drawing\Printing\PrinterSettings.cs (1)
975result[i + 4] = new PrinterResolution(PrinterResolutionKind.Custom, resolution.X, resolution.Y);
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PrinterResolutionTests.cs (3)
14Assert.Equal(PrinterResolutionKind.Custom, resolution.Kind); 58[InlineData(PrinterResolutionKind.Custom)] 77[InlineData(PrinterResolutionKind.Custom + 1)]