几何尺寸与公差论坛

 找回密码
 注册
查看: 614|回复: 0

【转帖】string for dwg preview

[复制链接]
发表于 2009-4-12 22:30:38 | 显示全部楼层 |阅读模式
string for dwg preview
the vb code for the solidworks files preview could be something like that :
dim extractor as sldworks_extractbitmap.sldworks_extractbitmap
dim nerrors as long
set extractor = new sldworks_extractbitmap.sldworks_extractbitmap
nerrors = extractor.extractbitmap(percorso5, "c:\file.bmp", 297, 210)
if nerrors = 1 then
abcdefg = "c:\file_vuoto.bmp"
else
abcdefg = "c:\file.bmp"
band1 = "1"
end if
ole1.visible = false
image1.visible = true
image1.picture = loadpicture(abcdefg)
i would like to know the library name to load and the string code for the dwg preview.
thanks
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 18:09 , Processed in 0.035720 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表