Hello, |
Re: exportPicture
Hi Matthias, all, i_view32.exe /clippaste /convert=picture.bmp
|
Re: exportPicture
Back in 2003 I did some work on this, but looking at that sloppy code I used exportPicture in PNG format.
EmbeddedOleObject ole
int i = 1
string errmess = null
RichText rtf
string s = richTextWithOle o.attributeName
i = 1
for rtf in s do
{
if (rtf.isOle)
{
ole = rtf.getEmbeddedOle
string filename = baseFileName "-rtfloop-" i ".png"
print "Exporting " filename "\n"
errmess = exportPicture(ole,filename , formatPNG)
if (!null errmess)
{
print "ERROR: " errmess "\n"
}
i++
}
}
|