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