![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Exporting Diagram Picture Topic Summary: Sending an image of the diagram to Word Created On: 5-Jun-2007 20:38 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Is it possible to export the picture of a diagram to a word document along with properties of that diagram(I can do this already). Can this be accomplished using the VBA and its functions included in SA 10.4 |
|
![]() |
|
![]() |
|
Rob, You can do this now with the Word Reporting functions in SA. From my limited understanding of how this works, I believe there is some macro code buried in the Word doc templates that you may be able to pick over to achieve what you want. |
|
![]() |
|
![]() |
|
I have spent the past day and a half hacing away at that code but it doesnt make any sense, i have code that allows me to find certain diagrams i want, i want to output the diagram as soon as i find it(programatically). The code that is written in that report wants to give me a menu where i can choose. Any ideas on what is the core code needed just to pull the picture from a given diagram???
|
|
![]() |
|
![]() |
|
Hi
Here is some sample code to save the diagram as a BMP and a WMF. Hope this helps Ian ------------------------- Senior Software Developer Telelogic UK Ltd. |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.