Group: Forum Members
Last Active: 13 Years Ago
Posts: 1,
Visits: 1
|
Hello, my name is Stefan. I've been testing the Nevron Diagram component as we plan to use it in a future release of an Application developed in C# using Visual Studio 2005. Now I've hit a couple of problems regarding: 1)The use of the autorouting features, 2)Zooming in the map.
1) Autoruting: Basically, I have a diagram set in a Winform and I add shapes and connectors via code. I set the shapes property : RouteObstacleType = RouteObstacleType.RouteAround; ShapeType = ShapeType.Shape2D; and create the connectors: nvConector = new NRoutableConnector(RoutableConnectorType.DynamicHV, RerouteAutomatically.Always); nvConector.ShapeType = ShapeType.Shape1D;
But when the form is shown, the routes are not autorouted. Also, when moving shapes around, autorouting doesn't work. The routing manager in the diagram document is valid and enabled.
2) Zooming: In the same App I catch the mousewheel moves messages and call ZoomIn and ZoomOut on the DrawingView. The functions return true but no zoom-ing happens.
Could you please point out what I am missing/doing wrong?
With respect, Stefan.
|