8 references to Custom
System.Drawing.Common (2)
System\Drawing\Printing\PaperSource.cs (2)
19
_kind = PaperSourceKind.
Custom
;
32
public PaperSourceKind Kind => (int)_kind >= PInvoke.DMBIN_USER ? PaperSourceKind.
Custom
: _kind;
System.Drawing.Common.Tests (6)
System\Drawing\Printing\PaperSourceTests.cs (6)
37
Assert.Equal(PaperSourceKind.
Custom
, source.Kind);
38
Assert.Equal((int)PaperSourceKind.
Custom
, source.RawKind);
43
[InlineData((int)PaperSourceKind.
Custom
, PaperSourceKind.
Custom
)]
57
[InlineData(int.MaxValue, PaperSourceKind.
Custom
)]
60
[InlineData(256, PaperSourceKind.
Custom
)]