Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
Topic Title: Diagram Image Export
Topic Summary:
Created On: 3-Apr-2008 15:12
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 3-Apr-2008 15:12
User is offline View Users Profile Print this message


Alan Jordaan

Posts: 1
Joined: 14-Aug-2006

Good day,

I'm using the System Architect object model on Visual Studio 2005 (.Net Framework 2.0)

I export the graphics of images using the following code snippet:

oSAImf = moEncy.Application.Interface("ISAImf")
oL4Diagram.Show()
iOutput = oSAImf.SADiagramToMetaFile(oL4Diagram.Handle, 100, msOutputFolder & oL4Diagram.ddId & ".wmf")
oL4Diagram.Hide()


The problem is that it's not exporting at a 100% scale. The image is scaled down if the diagram is big.

The Percentage (100) in the method SADiagramToMetaFile has no effect on the image that is exported.

I need the exported wmf file to look like the diagram when you view it at a 1:1 scale.

Can someone please help me?
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.