Graphics myGraphics = this.CreateGraphics(); Bitmap myBitmap = new Bitmap(60, 20);
myGraphics = Graphics.FromImage(myBitmap);
myGraphics.FillRectangle(new SolidBrush(Color.White), 0, 0, 60, 20);
myGraphics.DrawString("3365.0", new Font("Arial", 12), new SolidBrush(Color.Black), new Point(0, 2));怎么样再将图形数据转换为二进制数据
myGraphics = Graphics.FromImage(myBitmap);
myGraphics.FillRectangle(new SolidBrush(Color.White), 0, 0, 60, 20);
myGraphics.DrawString("3365.0", new Font("Arial", 12), new SolidBrush(Color.Black), new Point(0, 2));怎么样再将图形数据转换为二进制数据
解决方案 »
- 装了access2010的电脑如何右键新建中直接创建access2003的mdb格式文件?
- 求高手帮忙一个算法
- 存储过程的问题,求一下类型转换
- VS2003开发的软件 可以在3.5组件下使用吗
- dataGrid指定行之上添加一个空行供用户输入
- 如何取得spread当前单元格行列值
- winform设置控件焦点问题,谢谢。
- 关于FTP脚本的问题
- 关于C#从数据库读取数据,放到固定的XML架构文件,并将架构文件放至MSMQ中
- [-----指纹开发------]用C#进行指纹开发~~
- C# 总是提醒我方法无效~跪求解决~
- 求助:SqlCommand.ExecuteReader()出错,函数中含有的 SELECT 语句无法向客户端返回数据
myBitmap.Save(mms, System.Drawing.Imaging.ImageFormat.Bmp);
var bt = new byte[mms.Length];
mms.Position = 0;
mms.Read(bt, 0, Convert.ToInt32(bt.Length));
myBitmap.Save(mms, System.Drawing.Imaging.ImageFormat.Bmp);
bytes[] rr=mms.ToArray();