| Author |
Topic  |
|
|
nicoc
Japan
Posts |
Posted - 03/03/2005 : 05:26:44 AM
|
Origin Version : 7 pro Operating System: Xp
I haven't found an originC module for exporting the graphs so I include a labtalk function. It works well for jpg or bmp, but I can't make wmf.
Here is my function:
void exportgraph(string adresseext) { string LTcmd; LTcmd="Image.FileName$ = "+adresseext+";" "Image.ShowOptions = 0;" "Image.Export.PagePixel( JPG, 640, 480, 24, 5 );"; LT_execute(LTcmd); }
Thanks,
nicolas |
|
|
Leo_Li
China
Posts |
Posted - 03/28/2005 : 06:20:20 AM
|
I am not sure whether it is availabe in Pro7.0, but in Pro7.5, Origin C can do it:
PageBase pbActive; pbActive = Project.Pages(); string strPgName = pbActive.GetName(); Page pg(strPgName); export_page_to_image(pg, "C:\\test.wmf", "wmf", false);
|
 |
|
|
Mike Buess
USA
3037 Posts |
Posted - 03/28/2005 : 11:25:04 AM
|
Hi Nicolas,
LabTalk's image.export.pageDPI() works with WMF in Origin 7 SR4.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 03/28/2005 11:33:58 AM |
 |
|
| |
Topic  |
|
|
|