Profile Picture

Zoom to selection (NNodeList)

Posted By michal bandrowski 15 Years Ago
Author
Message
michal bandrowski
questionmark Posted 15 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 15 Years Ago
Posts: 10, Visits: 1
Hi,

I have node list (NNodeList) with shapes and I do call view.Selection.RegionSelect(nodeList), but it only selects them - what I'd like to see is to zoom view to region, specyfied with all shapes in node list.
If there is no such method, I'll consider of using view.Zoom(float, point) - so here is my another question - how can I translate region size to zoom level, so then region will take whole view ?

Thanks in advance,
Michal




Similar Topics


Reading This Topic