新闻动态
新闻动态
- HTML DOM Document 对象
- c#中StartsWith和EndsWidth的用法
- ASP.NET下的多文件上传
- 绩效考核的原则
- 外链一定要这样做
- $_SERVER参数
- thinkphp中foreach简介
- 早8点到12点,seo新手4小时解决网站链接
- 外链建设的一点心得
- jquery获取当前页面的URL信息
联系我们
邮箱:
手机:15383239821
asp.net
Graphics.FromImage 方法
作者:
发布时间:2014-06-23
点击:
private void FromImageImage(PaintEventArgs e)
{
// Create image.
Image imageFile = Image.FromFile("SampImag.jpg");
// Create graphics object for alteration.
Graphics newGraphics = Graphics.FromImage(imageFile);
// Alter image.
newGraphics.FillRectangle(new SolidBrush(Color.Black), 100, 50, 100, 100);
// Draw image to screen.
e.Graphics.DrawImage(imageFile, new PointF(0.0F, 0.0F));
// Dispose of graphics object.
newGraphics.Dispose();
}
新闻资讯
-
2025-10-15.net中program.cs
-
2012-06-30浅论印刷行业的企业网站定位
-
2014-04-26为什么网站没有收录?
-
2024-06-17DTO介绍
-
2012-07-05石家庄飞讯网站Session失效太快的解决方法
-
2013-01-05VS2008中新建项目跟新建网站有什么区别
相关案例
