zoom one entity

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
mari2011
Posts: 9
Joined: 21 Dec 2010, 07:15

zoom one entity

Post by mari2011 » 27 Feb 2011, 15:48

Hello Alexander,

I have 2 question, please help me.

1- How i can zoom one entity on maps, with having handle or position entity (circle)?
2- how i can with click on the area circle(), get hande or centerX CenterY,

How can I do?

thanks,

mari2011
Posts: 9
Joined: 21 Dec 2010, 07:15

Re: zoom one entity

Post by mari2011 » 01 Mar 2011, 05:51

is the Cadeditor can solve that problem(1)???
please help me.

thanks.

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: zoom one entity

Post by support » 04 Mar 2011, 18:15

Hello.
The coordinates needed to zoom view on some part of drawing (for example some entity). An entity can be accessed by handle to receive its coordinates. The library doesn't contain any method that center drawing in a point with some zoom level. However similar functionality realized in Viewer demo project, please see the ResetScaling method.
If you need change entity's sizes then such functionality depends on entity type, please specify it.
Click on CADCircle border is necessary to select by mouse such an object. Selected entities can be accessed as: CADImage.Selector.SelectedEntities.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply