User (Legacy) Posted February 5, 2001 Report Share Posted February 5, 2001 Thanks Steve but "This doesn't *exactly* answer my question" :-) - I've used the GetImage method of ChartFX and the Paste method of PowerPoint. - I try also Export method of ChartFX and AddImage of PowerPoint In this two situation I set ChartFX dimensions to the desidered final values before inserting data. Then I fill Graph with data and export it throught clipboard (Export or GetImage) or file (Export). When I add the image in PowerPoint (with Paste or AddImage) it hasn't the correct size (too small...). When I try to correct manually with resize, the metafile draws wrong (distorced :-( ). But if I use Paste Special, manually from PowerPoint, things are better... Unfortunatly Paste Special is non reachable via programmatic command (COM trouble...) I read about placeable metafile and I think this is the correct way... So I hope Thanks Sebastiano SteveT <stephent@compassadv.com> wrote in message HrL5sf7hAHA.3236@sfxserver.softwarefx.com... Sebastiano, This doesn't *exactly* answer your question. I don't know the GetImage method of PowerPoint but I have used AddPicture. oSlide.Shapes.AddPicture "FileNameHere", _ msoTrue, msoFalse, 31, 5, 346, 264 To place and size images into PowerPoint from files Steve Sebastiano Serri <serris@tin.it> wrote in message news:Vet88J4hAHA.1716@sfxserver.softwarefx.com... > Hi, I've this problem: > I build a graph in a VB ActiveX DLL and I want to paste it into a PowerPoint > presentation using the GetImage Method. It works but image size is wrong > even if I set it by code before the invocation of GetImage. I discover that > with the use of "Paste Special" command from PowerPoint it works better but > however it's not right. I read from reference that chartfx export not > placeable metafiles... can I have information about this particular type of > metafile? How I can convert a metafile to a placeable one??? > > Thanks > Sebastiano > > Ansible Sas > Milan - Italy > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.