Zooming In and Out

Technical discussions
Post Reply
Claude
Posts: 23
Joined: Thu Jan 05, 2017 3:58 am

Zooming In and Out

Post by Claude »

Hello

How is zooming controlled ? For example, in my application I use ^I and ^U, or ^+ ad ^- to Zoom In and Out. Is there any possibility for this ?

Thank you

nickz
Site Admin
Posts: 236
Joined: Fri Jul 26, 2013 3:58 am

Re: Zooming In and Out

Post by nickz »

Certainly, Claude,
The simplest way to zoom in / out is to copy code from OnZoomIn()/OnZoomOut() of Zoom sample. There is a VB version of it.

There are other ways to manipulate view extents and the view point. More info: http://www.dynoinsight.com/Help/Geom/View/Scene3D.aspx (concepts);

If you right click in any KC window and go to Advanced > View > Birds eye shows you interactively what is happening inside.
http://www.dynoinsight.com/Help/Interfa ... faces.aspx (programming).

View Point and Point Of View samples are also relevant to this.If you can’t find VB .Net version of a sample, C# version should make sense

Nick

Post Reply