|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】string for dwg preview
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
|