积极答复者
如何获取图片得分辨率?

问题
答案
-
这是C#语法,你可以翻译成VB.Net
System.Drawing.Image image = System.Drawing.Image.FromFile(imagepath);
height = image.Height;
width = image.Width;
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 LYP VB Learner 2012年7月30日 2:48
全部回复
-
图片是GDI+支持的格式吗?空闲内存足够加载图片吗?程序是桌面程序还是服务程序?
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP -
这是C#语法,你可以翻译成VB.Net
System.Drawing.Image image = System.Drawing.Image.FromFile(imagepath);
height = image.Height;
width = image.Width;
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 LYP VB Learner 2012年7月30日 2:48