We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Zoom to a Node inside a diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

74031 May 28,2008 03:17 PM Apr 2,2010 04:45 AM Windows Forms 9
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On May 28, 2008 03:17 PM

Is it possible to zoom into a specific child node of a group control on a diagram?

Say we have a group control with few children. When user selects a child node I want to zoom-in that particular node and fit in to view.


Thanks,
Babu


J.Nagarajan [Syncfusion]
Replied On May 29, 2008 05:34 AM

Hi Babu ,

Thanks for your interest in Syncfusion products.

Please refer to the attached sample that demonstrates to zoom in and zoomout the selected child nodes of a group.

http://websamples.syncfusion.com/samples/Diagram.Windows/F74031/main.htm

In this sample you can select the Ellipse or TextNode and you can Zoom-In and Zoom-Out the child nodes by using the corresponding buttons.

Please let me know if you have any questions.

Thanks,
Nagaraj



Administrator [Syncfusion]
Replied On May 29, 2008 12:00 PM

Thank You Nagaraj.

But, I can't see that the child of a Grop control gets zoom-in and zoom-out (eg, m_innerEllipse of your MySymbol class) in your sample;instead the whole group box's zoom property is getting updated.

If we want to zoom-in a standard Node(say Ellipse, Rectangle etc), do we need to derive new classes from each of these Node type (say MyEllipse, MyRectange ect) and then update the protected BoundsInfo property? Does this sounds weird?

Thanks,
Babu


J.Nagarajan [Syncfusion]
Replied On May 30, 2008 04:26 AM

Hi Babu ,

I have modified the sample and attached here.

http://websamples.syncfusion.com/samples/Diagram.Windows/F74031_May30/main.htm

In this sample you can select the Ellipse or TextNode and you can zoom in and zoom out the child nodes.

Please refer to it and let me know if this helps.

Regards,
Nagaraj



Administrator [Syncfusion]
Replied On May 30, 2008 12:46 PM

Many Thanks Nagaraj.


Witold Slirz
Replied On March 5, 2010 04:10 AM

Could you update your links above?
We can't download these examples because " can't find the server at websamples.syncfusion.com."

Dinesh M [Syncfusion]
Replied On March 9, 2010 05:14 AM

Hi Witold,

Sorry ,we couldn't able to fix this broken link as the sample in it has been lost. Could you please let me know your exact requirement so that we would try to prepare a sample for it and update it to you.

Regards,
Dinesh

Witold Slirz
Replied On March 10, 2010 08:11 AM

Hello Dinesh,
Requirement is exactly like in original post here
"Say we have a group control with few children. When user selects a child node I want to zoom-in that particular node and fit in to view."

Cheers

Dinesh M [Syncfusion]
Replied On March 23, 2010 10:43 AM

Hi Witold,

Please check the sample attached and let me know whether it meets your requirement.

Regards,
Dinesh





Diagram_WF_ZoomToNode_cc141204.zip

Witold Slirz
Replied On April 2, 2010 04:45 AM

Thanks, it works

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;