Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Importing BeginArrow/EndArrow properties with VisioStencils (Read 2557 times)
Cyrinael
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 42
Joined: Jul 22nd, 2016
Importing BeginArrow/EndArrow properties with VisioStencils
Jul 22nd, 2016 at 12:08pm
Print Post  
Hi @all,

is it possible to import the BeginArrow and EndArrow Properties of a VisioStencil?

Best Regards,

Cyrinael
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Importing BeginArrow/EndArrow properties with VisioStencils
Reply #1 - Jul 22nd, 2016 at 12:55pm
Print Post  
Hi,

We can add this too next week - to clarify, are you trying to import connector's 1D shape definition, or that's something you have in node shapes 2D graphics?

Best Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Cyrinael
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 42
Joined: Jul 22nd, 2016
Re: Importing BeginArrow/EndArrow properties with VisioStencils
Reply #2 - Jul 25th, 2016 at 7:49am
Print Post  
Hi Slavcho,

I'm not sure, if I understood your question correctly. I want to import the EndArrow/BeginArrow Property of a Visio Stencil. They are ranging from 1 to 45 (in Visio 2010) and represent the Visio Arrow Shapes. I will map them afterwards to the corresponding Mindfusion Arrow Shapes or will create new ones.

Thank you,

Cyrinael
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Importing BeginArrow/EndArrow properties with VisioStencils
Reply #3 - Jul 25th, 2016 at 8:29am
Print Post  
Hi Cyrinael,

The Visio stencil API from vsx.dll is currently used along with the VisioNode class derived from DiagramNode, and I don't think it supports the so-called (in Visio SDK) 1D shapes, used to display connectors. So we need to know whether you'd also expect a corresponding VisioLink/Connector class, or are you ok with only accessing the imported stencil definitions and assigning corresponding shapes to the current DiagramLink properties?

We could add properties for accessing stencil masters' EndArrow/BeginArrow values in next couple of days. Creating a VisioLink-kind of class will be a big undertaking so we'd have to schedule it for a later release this year.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Cyrinael
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 42
Joined: Jul 22nd, 2016
Re: Importing BeginArrow/EndArrow properties with VisioStencils
Reply #4 - Jul 25th, 2016 at 8:49am
Print Post  
Hi Slavcho,

for my application there is no need to create a own VisioLink class, since I recognize whether the Stencil is a connector or a node and in case of a connector, i alter the behavior and paint a DiagramLink instead of a DiagramNode. For me it would be sufficient to just read the properties and assign them to the DiagramLink.


Thank you,

Cyrinael
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Importing BeginArrow/EndArrow properties with VisioStencils
Reply #5 - Jul 28th, 2016 at 2:09pm
Print Post  
this build adds LineBeginArrow and LineEndArrow properties to the Vsx.Shape class -
https://mindfusion.eu/_beta/vsx_beginarrow.zip

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint