17 references to PaperKind
System.Drawing (1)
System.Drawing.cs (1)
113[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PaperKind))]
System.Drawing.Common (16)
System\Drawing\Printing\PageSettings.cs (2)
270if (_paperSize.Kind == PaperKind.Custom) 414PaperKind.Custom,
System\Drawing\Printing\PaperSize.cs (13)
13private PaperKind _kind; 26_kind = PaperKind.Custom; 31internal PaperSize(PaperKind kind, string name, int width, int height) 44_kind = PaperKind.Custom; 58if (_kind != PaperKind.Custom && !_createdByDefaultConstructor) 70public PaperKind Kind 71=> _kind is <= ((PaperKind)PInvoke.DMPAPER_LAST) 72and not (((PaperKind)PInvoke.DMPAPER_RESERVED_48) or ((PaperKind)PInvoke.DMPAPER_RESERVED_49)) 74: PaperKind.Custom; 84if (_kind != PaperKind.Custom && !_createdByDefaultConstructor) 99set => _kind = (PaperKind)value; 110if (_kind != PaperKind.Custom && !_createdByDefaultConstructor)
System\Drawing\Printing\PrinterSettings.cs (1)
885(PaperKind)kinds[i],