using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;
using System.Drawing.Drawing2D; public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Bitmap bitmap = new Bitmap(, );
Graphics graphics = Graphics.FromImage(bitmap);
graphics.Clear(Color.White);
Pen pen = new Pen(Color.Black, );
Point[] points = { new Point(, ), new Point(, ), new Point(, ), new Point(, ) };
graphics.DrawLines(pen, points);
System.IO.MemoryStream ms = new System.IO.MemoryStream();
bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
Response.ClearContent();
Response.ContentType = "image/Jpeg";
Response.BinaryWrite(ms.ToArray());
}
}

最新文章

  1. 安装CentOS7文字界面版后,无法联网,用yum安装软件提示 cannot find a valid baseurl for repo:base/7/x86_64 的解决方法
  2. Java 中Iterator 、Vector、ArrayList、List 使用深入剖析
  3. linux vi 删除多行的方法
  4. 移动端网站的内容触摸滑动-Swiper插件
  5. C#,Java,C -循环冗余检验:CRC-16-CCITT查表法
  6. 关于python测试webservice接口的视频分享
  7. Java魔法堂:以Windows服务的形式运行Java程序
  8. int和integer;Math.round(11.5)和Math.round(-11.5)
  9. macbook Android开发环境搭建,真机调试
  10. jquery easyui datagrid 分页实现---善良公社项目
  11. 【Impala篇】---Hue从初始到安装应用
  12. linux 常用命令 和 nginx(反响代理、负载均衡)安装和配置
  13. python学习-Day1-接口测试
  14. 限制EditText最多输入n位,设置EditText最大输入长度;
  15. Beta阶段第三篇Scrum冲刺博客-Day2
  16. [日常] Go语言圣经-指针对象的方法-bit数组习题
  17. 【mongoDB运维篇③】replication set复制集
  18. 4011: [HNOI2015]落忆枫音
  19. [Javascript] Ternary Conditionals
  20. java的简单入门,tomcat服务器

热门文章

  1. postfix启动脚本
  2. Ubuntu下两个gcc版本切换
  3. Android Listview 性能优化
  4. 关于 MaxScript 获取所有贴图
  5. 适配器模式(Adapter Pattern)
  6. centos7+nginx 1.9.0+php-fpm+phpstorm+xdebug+vmware开发环境搭建
  7. ajax+php处理案例
  8. 基于MVC4+EasyUI的Web开发框架形成之旅--MVC控制器的设计
  9. 反编译dtsi
  10. App_Offline.htm 功能