Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic CopyToClipboard to MS-Office (Read 1865 times)
hhko
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Feb 9th, 2010
CopyToClipboard to MS-Office
Feb 22nd, 2010 at 3:52am
Print Post  
Hi.  Grin

I want to paste copied shapes to MS-Office.
so. I called diagramView.CopyToClipboard(false); function.

but. this function can paste only diagramView.
how to ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CopyToClipboard to MS-Office
Reply #1 - Feb 22nd, 2010 at 8:48am
Print Post  
Hi,

We know nothing of the MS-Office clipboard format (nor Microsoft knows of ours Wink), so you can't copy the diagram to office applications in their native flowchart format. The only thing you can do easily is to call CreateImage and copy the bitmap image to the clipboard. Another option is to use MS-Office OLE automation to create a temporary Office document and build inside it a flowchart corresponding to the diagram content, and copy it to the clipboard.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint