Image2.ImageUrl="/itemgif/1.gif";
我这里想知道IMAGE2的宽度 以便做其他处理
我这里想知道IMAGE2的宽度 以便做其他处理
解决方案 »
- 如何实现大量int类型数据的频繁读取存储?(困扰我很久的问题)
- C#中mysql存储和读取图像文件 在线等.请高手帮忙
- 数据库方面的,非常简单的问题,哪位大虾帮下
- 怎样取消 ie 脱机工作
- Socket问题:怎样实现多个socket连接?
- 请问如何将EXCEL中的数据用循环逐一导入到DataTable或DataSet中
- (紧急求助!!!!)如何更改messageboxbutton消息框按钮的名称
- execl中档一个sheet里有两张表格的时候应该如何用c#读取
- 在模式窗口中应用键是怎样判断窗口中的内容有没有修改的?
- 帮帮小妹!急死了!
- Asp.net调用C#封装的com组件
- 一个字符串转换的问题!
img.Height
using System.Drawing.Drawing2D;
string strFileName = Server.MapPath( "itemgif/1.gif" );
Image imgFile = Image.FromFile( strFileName );// Size: imgFile.Width & imgFile.Height
Image imgFile = Image.FromFile( strFileName );
with
System.Drawing.Drawing2D Image imgFile = System.Drawing.Image.FromFile( strFileName );
System.Drawing.Image imgFile = System.Drawing.Image.FromFile( strFileName );