The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 export metafile

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
nicoc 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
2   L A T E S T    R E P L I E S    (Newest First)
Mike Buess 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
Leo_Li 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);


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000