码迷,mamicode.com
首页 > Windows程序 > 详细

.NETFramework-Drawing:Image

时间:2018-05-20 14:15:46      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:for   unit   sel   lag   版权   oca   bind   href   item   

ylbtech-.NETFramework-Drawing:Image

 

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 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();
    }
}
2、
2.返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
技术分享图片 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

.NETFramework-Drawing:Image

标签:for   unit   sel   lag   版权   oca   bind   href   item   

原文地址:https://www.cnblogs.com/storebook/p/9063203.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!