PTV Visum - Frequently Asked Questions (FAQs)

(#VIS18542)

How can I position the network editor to display certain network objects?

The method
Visum.Graphic.Autozoom()
can use some single network object as argument.

To zoom upon multiple network objects, use
Visum.Net.Links.GetMultiAttValues()
to gather the X- and Y-coordinates as arrays. Use these to estimate the corners for a bounding box, which can be used for the method:
Visum.Graphic.SetWindow xMin, yMin, xMax, yMax