• System.Drawing.Image.cs


    ylbtech-System.Drawing.Image.cs
    1.程序集 System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a返回顶部
    1、
    #region 程序集 System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    // C:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFrameworkv4.5.2System.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();
        }
    }
    2、
    2.返回顶部
     
    3.返回顶部
     
    4.返回顶部
     
    5.返回顶部
     
     
    6.返回顶部
     
    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    vs2005设置断点不能调试问题(方法三为首选项,一般都可以解决)
    SQL中内连接和外连接的问题!
    javascript读写删cookie的简单方法
    数据库语句 select * from table where 1=1 的用法和作用
    gridview 和repeater 添加序号的方法
    asp.net Forms身份验证详解(转载)
    Asp.net中的认证与授权(转载)
    ASP.NET中前台javascript与后台代码调用
    android 模拟器不能上网解决方法
    大数据量系统架构
  • 原文地址:https://www.cnblogs.com/storebook/p/9063203.html
Copyright © 2020-2023  润新知