<PackageReference Include="System.Drawing.Common" Version="5.0.0-preview.2.20160.6" />

Bitmap

public sealed class Bitmap : Image
using System.ComponentModel; using System.Drawing.Imaging; using System.IO; namespace System.Drawing { public sealed class Bitmap : Image { public Bitmap(Image original) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(Image original, Size newSize) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(Image original, int width, int height) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(int width, int height) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(int width, int height, Graphics g) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(int width, int height, PixelFormat format) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(int width, int height, int stride, PixelFormat format, IntPtr scan0) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(Stream stream) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(Stream stream, bool useIcm) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(string filename) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(string filename, bool useIcm) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap(Type type, string resource) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap Clone(Rectangle rect, PixelFormat format) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Bitmap Clone(RectangleF rect, PixelFormat format) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public static Bitmap FromHicon(IntPtr hicon) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public static Bitmap FromResource(IntPtr hinstance, string bitmapName) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } [EditorBrowsable(EditorBrowsableState.Advanced)] public IntPtr GetHbitmap() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } [EditorBrowsable(EditorBrowsableState.Advanced)] public IntPtr GetHbitmap(Color background) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } [EditorBrowsable(EditorBrowsableState.Advanced)] public IntPtr GetHicon() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public Color GetPixel(int x, int y) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format, BitmapData bitmapData) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public void MakeTransparent() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public void MakeTransparent(Color transparentColor) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public void SetPixel(int x, int y, Color color) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public void SetResolution(float xDpi, float yDpi) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public void UnlockBits(BitmapData bitmapdata) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } } }