<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.5.26302.115" />

System.Drawing.Printing.PrinterSettings

public class PrinterSettings : ICloneable
namespace System.Drawing.Printing { public class PrinterSettings : ICloneable { public class PaperSizeCollection : ICollection, IEnumerable { public int Count { get; } public virtual PaperSize this[int index] { get; } public PaperSizeCollection(PaperSize[] array); public int Add(PaperSize paperSize); public void CopyTo(PaperSize[] paperSizes, int index); public IEnumerator GetEnumerator(); } public class PaperSourceCollection : ICollection, IEnumerable { public int Count { get; } public virtual PaperSource this[int index] { get; } public PaperSourceCollection(PaperSource[] array); public int Add(PaperSource paperSource); public void CopyTo(PaperSource[] paperSources, int index); public IEnumerator GetEnumerator(); } public class PrinterResolutionCollection : ICollection, IEnumerable { public int Count { get; } public virtual PrinterResolution this[int index] { get; } public PrinterResolutionCollection(PrinterResolution[] array); public int Add(PrinterResolution printerResolution); public void CopyTo(PrinterResolution[] printerResolutions, int index); public IEnumerator GetEnumerator(); } public class StringCollection : ICollection, IEnumerable { public int Count { get; } public virtual string this[int index] { get; } public StringCollection(string[] array); public int Add(string value); public void CopyTo(string[] strings, int index); public IEnumerator GetEnumerator(); } public bool CanDuplex { get; } public bool Collate { get; set; } public short Copies { get; set; } public PageSettings DefaultPageSettings { get; } public Duplex Duplex { get; set; } public int FromPage { get; set; } public static StringCollection InstalledPrinters { get; } public bool IsDefaultPrinter { get; } public bool IsPlotter { get; } public bool IsValid { get; } public int LandscapeAngle { get; } public int MaximumCopies { get; } public int MaximumPage { get; set; } public int MinimumPage { get; set; } public PaperSizeCollection PaperSizes { get; } public PaperSourceCollection PaperSources { get; } public string PrinterName { get; set; } public PrinterResolutionCollection PrinterResolutions { get; } public string PrintFileName { get; set; } public PrintRange PrintRange { get; set; } public bool PrintToFile { get; set; } public bool SupportsColor { get; } public int ToPage { get; set; } public PrinterSettings(); public object Clone(); public Graphics CreateMeasurementGraphics(); public Graphics CreateMeasurementGraphics(bool honorOriginAtMargins); public Graphics CreateMeasurementGraphics(PageSettings pageSettings); public Graphics CreateMeasurementGraphics(PageSettings pageSettings, bool honorOriginAtMargins); public IntPtr GetHdevmode(); public IntPtr GetHdevmode(PageSettings pageSettings); public IntPtr GetHdevnames(); public bool IsDirectPrintingSupported(Image image); public bool IsDirectPrintingSupported(ImageFormat imageFormat); public void SetHdevmode(IntPtr hdevmode); public void SetHdevnames(IntPtr hdevnames); } } namespace System.Drawing.Imaging { public sealed class ImageFormat { public static ImageFormat Bmp { get; } public static ImageFormat Emf { get; } public static ImageFormat Exif { get; } public static ImageFormat Gif { get; } public Guid Guid { get; } public static ImageFormat Icon { get; } public static ImageFormat Jpeg { get; } public static ImageFormat MemoryBmp { get; } public static ImageFormat Png { get; } public static ImageFormat Tiff { get; } public static ImageFormat Wmf { get; } public ImageFormat(Guid guid); } }