
图像处理技术
NewsSeaSky
乐观、积极、正直
展开
-
c#中统计图形——折线图
2、折线图分析人口 //定义画布大小 int height = 440, width = 600; System.Drawing.Bitmap image = new System.Drawing.Bitmap(width,height); //创建Graphics类对象 Graphics g = Graphics.FromImage(原创 2007-08-28 16:36:00 · 782 阅读 · 0 评论 -
C#中的统计图形——柱形图
/// /// 显示图象 /// /// /// /// public string GetResult(string strContent, decimal decNumAll) { string[] arrContent = strContent.Split(|); string strBody = "/n"; foreac原创 2007-08-28 16:41:00 · 1154 阅读 · 0 评论 -
c#中绘制验证码
1、绘制汉字验证码using System.Text; //添加引用using System.Drawing; //添加引用private object[] CreateString(int strlength) { //定义一个数组存储汉字编码的组成元素 string[] str = new string[16] { "0", "1", "2", "原创 2007-08-28 17:21:00 · 454 阅读 · 0 评论 -
C#中统计图形——饼形图
1、饼形图分析男女比例using System.Drawing; //添加引用using System.Data.SqlClient; //添加引用using System.Collections; //添加引用protected void Page_Load(object sender, EventArgs e) { CreateImage(); }原创 2007-08-28 16:25:00 · 994 阅读 · 1 评论 -
C#中gdi绘制图形
1、gdi绘制原形、椭圆形、扇形using System.Drawing; //添加的引用 private void GraphicsImage() { int width = 400, hight = 250; Bitmap image = new Bitmap(width, hight); Graphics g = Graphics.F原创 2007-08-28 17:00:00 · 1901 阅读 · 1 评论