K
Kristof Thys
Hello,
I'm relatively new to working with the Visio SDK, and although
everything is working out quite well, I can't manage to add arrows to my
line-curve connectors...
I've tried to get the EndArrow and EndArrowSize cells, and adjusting
their resultIU, but this didn't give any result.
[code sample c#]
directedLine =
Utility.GetMaster(this.drawingControl,AppDomain.CurrentDomain.BaseDirectory
+ "test_stencil.vss","Line-curve connector");
navigatorShape = targetPage.Drop(directedLine, 1.5, 1.5);
Navigator
Cell endArrow =
navigatorShape.get_CellsSRC((short)Microsoft.Office.Interop.Visio.VisSectionIndices.visSectionObject,
(short)Microsoft.Office.Interop.Visio.VisRowIndices.visRowLine,
(short)Microsoft.Office.Interop.Visio.VisCellIndices.visLineEndArrow);
Cell endArrowSize =
navigatorShape.get_CellsSRC((short)Microsoft.Office.Interop.Visio.VisSectionIndices.visSectionObject,
(short)Microsoft.Office.Interop.Visio.VisRowIndices.visRowLine,
(short)Microsoft.Office.Interop.Visio.VisCellIndices.visLineEndArrowSize);
endArrowSize.ResultIU = 5.0;
[/code]
Am I forgetting anything?
Thanks for any help!
Kristof
I'm relatively new to working with the Visio SDK, and although
everything is working out quite well, I can't manage to add arrows to my
line-curve connectors...
I've tried to get the EndArrow and EndArrowSize cells, and adjusting
their resultIU, but this didn't give any result.
[code sample c#]
directedLine =
Utility.GetMaster(this.drawingControl,AppDomain.CurrentDomain.BaseDirectory
+ "test_stencil.vss","Line-curve connector");
navigatorShape = targetPage.Drop(directedLine, 1.5, 1.5);
Navigator
Cell endArrow =
navigatorShape.get_CellsSRC((short)Microsoft.Office.Interop.Visio.VisSectionIndices.visSectionObject,
(short)Microsoft.Office.Interop.Visio.VisRowIndices.visRowLine,
(short)Microsoft.Office.Interop.Visio.VisCellIndices.visLineEndArrow);
Cell endArrowSize =
navigatorShape.get_CellsSRC((short)Microsoft.Office.Interop.Visio.VisSectionIndices.visSectionObject,
(short)Microsoft.Office.Interop.Visio.VisRowIndices.visRowLine,
(short)Microsoft.Office.Interop.Visio.VisCellIndices.visLineEndArrowSize);
endArrowSize.ResultIU = 5.0;
[/code]
Am I forgetting anything?
Thanks for any help!
Kristof