#region 程序集 System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Drawing.dll
#endregion
using System.ComponentModel;
using System.Drawing.Design;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Drawing
{
[ComVisible(true)]
[Editor("System.Drawing.Design.ImageEditor, System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
[ImmutableObject(true)]
[TypeConverter(typeof(ImageConverter))]
public abstract class Image : MarshalByRefObject, ISerializable, ICloneable, IDisposable
{
~Image();
public float VerticalResolution { get; }
[Bindable(true)]
[DefaultValue(null)]
[Localizable(false)]
[TypeConverter(typeof(StringConverter))]
public object Tag { get; set; }
public SizeF PhysicalDimension { get; }
[Browsable(false)]
public PropertyItem[] PropertyItems { get; }
public Size Size { get; }
[Browsable(false)]
[DefaultValue(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public int Width { get; }
[Browsable(false)]
[DefaultValue(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public int Height { get; }
[Browsable(false)]
public int[] PropertyIdList { get; }
public float HorizontalResolution { get; }
[Browsable(false)]
public Guid[] FrameDimensionsList { get; }
[Browsable(false)]
public ColorPalette Palette { get; set; }
public PixelFormat PixelFormat { get; }
public ImageFormat RawFormat { get; }
[Browsable(false)]
public int Flags { get; }
public static Image FromFile(string filename);
public static Image FromFile(string filename, bool useEmbeddedColorManagement);
public static Bitmap FromHbitmap(IntPtr hbitmap);
public static Bitmap FromHbitmap(IntPtr hbitmap, IntPtr hpalette);
public static Image FromStream(Stream stream, bool useEmbeddedColorManagement, bool validateImageData);
public static Image FromStream(Stream stream, bool useEmbeddedColorManagement);
public static Image FromStream(Stream stream);
public static int GetPixelFormatSize(PixelFormat pixfmt);
public static bool IsAlphaPixelFormat(PixelFormat pixfmt);
public static bool IsCanonicalPixelFormat(PixelFormat pixfmt);
public static bool IsExtendedPixelFormat(PixelFormat pixfmt);
public object Clone();
public void Dispose();
public RectangleF GetBounds(ref GraphicsUnit pageUnit);
public EncoderParameters GetEncoderParameterList(Guid encoder);
public int GetFrameCount(FrameDimension dimension);
public PropertyItem GetPropertyItem(int propid);
public Image GetThumbnailImage(int thumbWidth, int thumbHeight, GetThumbnailImageAbort callback, IntPtr callbackData);
public void RemovePropertyItem(int propid);
public void RotateFlip(RotateFlipType rotateFlipType);
public void Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams);
public void Save(Stream stream, ImageFormat format);
public void Save(string filename, ImageCodecInfo encoder, EncoderParameters encoderParams);
public void Save(string filename, ImageFormat format);
public void Save(string filename);
public void SaveAdd(Image image, EncoderParameters encoderParams);
public void SaveAdd(EncoderParameters encoderParams);
public int SelectActiveFrame(FrameDimension dimension, int frameIndex);
public void SetPropertyItem(PropertyItem propitem);
protected virtual void Dispose(bool disposing);
public delegate bool GetThumbnailImageAbort();
}
}