Change Dynamic Connector to be curved c#?

O

Oleg

Hello
I am connecting the shapes with Dynamic connector on the page using c#, but
the lines appear to be straight connectors, how do i change them to be
curved?

I am using this code on current page before placing connectors on the page

layoutCell = currentPage.PageSheet.get_CellsSRC(
(short)Visio.VisSectionIndices.visSectionObject, (short)
Visio.VisRowIndices.visRowPageLayout, (short)Visio.
VisCellIndices.visPLOLineRouteExt); layoutCell.
set_Result(Visio.VisUnitCodes.visPageUnits, (double)Visio.VisCellVals.
visLORouteExtNURBS);

but it doesn't work

url:http://www.ureader.com/gp/1130-1.aspx
 
J

JuneTheSecond

Also the ShapeRouteStyle cell needs to be changed to 1 or visLORouteRightAngle.
If you watch the shapesheet or record your operation to the macro while you
change the type connector from straight to curved. you can get the macro. And
then you would find 2 cells are chaged, ConLineRouteExt and ShapeRouteStyle.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top