System.Drawing.Image.cs
ylbtech-System.Drawing.Image.cs |
1.程序集 System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a返回顶部 |
#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.返回顶部 |
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
6.返回顶部 |
![]() |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |
System.Drawing.Image.cs的更多相关文章
- System.Drawing.Graphics.cs
ylbtech-System.Drawing.Graphics.cs 1.程序集 System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKey ...
- .NET Core System.Drawing.Common 中文乱码的坑
最近在写一个汉字取点阵的程序,最开始是在win环境下运行的,没发现什么异常,然后今天把程序放在centos 下后发现英文正常,中文完全变成两位的字了,最开始是字体的原因 在把宋体等安装到centos ...
- System.Drawing.Imaging.ImageFormat.cs
ylbtech-System.Drawing.Imaging.ImageFormat.cs 1.程序集 System.Drawing, Version=4.0.0.0, Culture=neutral ...
- .Net Core上用于代替System.Drawing的类库
目前.Net Core上没有System.Drawing这个类库,想要在.Net Core上处理图片得另辟蹊径. 微软给出了将来取代System.Drawing的方案,偏向于使用一个单独的服务端进行各 ...
- (转)System.Drawing.Color的颜色对照表
经常使用System.Drawing.Color, 本篇介绍一下颜色与名称及RGB值的对应关系. 1. 颜色与名称的对照表(点击下图放大看): 2. 颜色与RGB值对照表: Color.AliceBl ...
- .Net Core 之 图形验证码 本文介绍.Net Core下用第三方ZKWeb.System.Drawing实现验证码功能。
本文介绍.Net Core下用第三方ZKWeb.System.Drawing实现验证码功能. 通过测试的系统: Windows 8.1 64bit Ubuntu Server 16.04 LTS 64 ...
- System.Drawing.Color
System.Drawing.Color color=Color.Red; System.Drawing.Color color=Color.FromArgb(,,); System.Drawing. ...
- 使用System.Drawing.Imaging.dll进行图片的合并
在最近开发项目的时候有时候需要进行图片的合并,即将两张图片合并成功一张图片 合并图片的代码: #region 两张图片的合并 /// <summary > /// 将Image对象转化成二 ...
- mono+jexus 验证码不显示:System.Drawing
System.ArgumentException The requested FontFamily could not be found [GDI+ status: FontFamilyNotFoun ...
随机推荐
- 发现一个新的远程软件 gotohttp
之前直到远程桌面连接是TeamViewer 替换的原因是: 被控制端版本 11.0.x (很久以前安装的),而我本地的Teamviewer是 14.x, 去连接,好像提示被控制端的版本太低:本地使用 ...
- mysql和postgresql查询数据库中哪些表包含某个字段
想知道数据库中哪表含有edu_status字段 mysql> select table_name,column_name from information_schema.columns wh ...
- Java HashSet和ArrayList的查找Contains()时间复杂度
今天在刷leetCode时,碰到了一个题是这样的. 给定一个整数数组,判断是否存在重复元素. 如果任何值在数组中出现至少两次,函数返回 true.如果数组中每个元素都不相同,则返回 false. 看到 ...
- Batch - FOR %%a %%b
总结 %%a refers to the name of the variable your for loop will write to. Quoted from for /?: FOR %vari ...
- Thinkphp 3.2 去掉index.php
1.httpd.conf中去掉LoadModule rewrite_module modules/mod_rewrite.so 前面的#号 2.httpd.conf 中 AllowOverride ...
- TTreeView、TTreeNodes和TTreeNode
TreeView是Delphi中使用频率比较高的一个控件,虽然使用次数很多,但总结不够.借着这次做GDW原型的机会总结一下,写的过程中也会参考网上的博文. TTreeView.TTreeNodes和T ...
- bzoj1036题解
[解题思路] 直接上树剖套线段树/BIT即可.复杂度o(n+qlog22n)(线段树)或o(n+qlog23n)(BIT). [参考代码] 树剖套BIT.(这个树剖好naive啊QAQ) #inclu ...
- HAProxy服务器 、Keepalived热备 、Keepalived+LVS
配置HAProxy负载平衡集群 1.1 问题 准备三台Linux服务器,两台做Web服务器,一台安装HAProxy,实现如下功能: 客户端访问HAProxy,HAProxy分发请求到后端Real Se ...
- NTT数论变换
数论变换NTT 前置知识 FFT:NTT的思想和FFT一样(FFT介绍) 概述 数论变换,即NTT(Number Theory Transformation?),是基于数论域的FFT,一般我们默认FF ...
- NX二次开发-打开part对话框UF_UI_open_part
这是UFUN帮助的官方例子 /****************************************************************************** Copyri ...