cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Diagram API DiagramItem Style RoundCorner False

ColruytTeam
Honored Contributor

Hi Community,

I am trying to draw some links on a diagram, everything is going well except the round corners. By default the link is getting rounded corner. I tried to set the value 0 and False, both are not working.

 

Set NewFlowRelation = oRoot.getCollection("Flow To Application").Add("Sample Flow Relation")
Set flowdrawingitem = oDrawing.MegaObjectInsert(NewFlowRelation)
Set parentdrawingitem = flowdrawingitem.ItemProperty("ParentDrawingItem")
parentdrawingitem.LineStyle.RoundCorner = 0    ' I tried with false also not working

 

Can any one help me in fixing this?

 

Thanks in advance.

Colruyt Team
0 Replies