📄 13131.html
字号:
<html>
<head>
<title>Re: 如何取得图片档的解析度?</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 如何取得图片档的解析度?</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by 小翰 on May 19, 1999 at 12:14:46:<p>
In Reply to: <a href="12409.html">Re: 如何取得图片档的解析度?</a> posted by 云龙 on April 27, 1999 at 11:37:47:<p>
: : 如果只是要取得图档的长宽,只要把这张图载入到 PictureBox,再将 ScaleMode 属性设为 vbPixels,然后读取 ScaleWidth 及 ScaleHeight 两属性即可。<p>: 再请问小吴:<br>: 那如果我要直接以程式方式取得要如何做呢?像:以取得档案大小的那种方式,要如何做呢?<p>dim x as new stdPicture<br>set x=loadpicture("...")<br>x.height和x.width即为你要的解析度<br>但是单位是himetric<br>你必须用scalex scaley 转成pixel或其他单位
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 13131-->
</ul><!--end: 13131-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -