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.

bitmapnode ports

Thread ID:

Created:

Updated:

Platform:

Replies:

63730 Jul 9,2007 06:22 AM Jul 11,2007 05:22 AM Windows Forms 7
loading
Tags: Diagram
Lodewicus Moolman
Asked On July 9, 2007 06:22 AM

Hi, can anyone help me, i have a diagram that drags/drops images and they become bitmapnodes.My problem is that i cant get the bitmapnodes to display ports that i need for connecting lines to them, can anyone help

Regards:
Wicus

Meera Fathima [Syncfusion]
Replied On July 9, 2007 09:04 AM



Hello Wicus,

Thanks for your interest in Syncfusion products.

I have tested adding of ports in the Diagram Samples\Quick Start\Drag Drop sample and it is working fine.

If your intention is to display the center port of the node, this is not possible in v5.1 of Essential Diagram. However you can view all the other ports that are being added to the node. Also please ensure that the Node.DrawPorts property is set with TRUE value in order to display the ports on the node.

If I have misunderstood your requirement, could you please explain me in detail, so that I can work in
depth and try to send a better solution?

Also please do let me know if you have any technical questions or I can be of any other assistance. We will be glad to assist you.

Best Regards,
Meera.

Syncfusion, Inc.
http://www.syncfusion.com/


Lodewicus Moolman
Replied On July 9, 2007 10:04 AM

Hi Meera

Thanks for your help but i actually want the outer ports eg. leftport, rightport and so on, if you can help me i would be most greatful

thanks
Regards: Wicus

Meera Fathima [Syncfusion]
Replied On July 10, 2007 12:23 AM

Hello Wicus,

Thanks for the update. As I have mentioned in the previous update, you can view all the other ports that are being added to a diagram node by setting the Node.DrawPorts to TRUE value. By default the DrawPorts has been set with TRUE value.

And you can add these ports at any point by setting desired value to OffSetX and OffSetY values.

I am afraid that I was not able to reproduce the issue. Please refer to the following steps that I tried to reproduce it with the Drag Drop sample.
1. Run the sample and drag and dropped the bitmap node into the diagram,

2. Added ports to the node using the Ports property in the property editor and set the OffSetX and OffSetY values for the ports.

Also I have created a sample to test this issue and it is available in the following link - http://websamples.syncfusion.com/samples/Diagram.Windows/F63730/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample or send us the reproducing steps so that we could sort out the cause of the issue and provide you a solution?


Best Regards,
Meera.

Syncfusion, Inc.
http://www.syncfusion.com/

Lodewicus Moolman
Replied On July 10, 2007 06:05 AM

Hi Meera,

Thanks alot for all your help it all works but i had to make a few adjustments, i hav another problem though, every time i drag/drop a node then i get this exception :

Type 'Syncfusion.Windows.Forms.Diagram.Port' in Assembly 'Syncfusion.Diagram.Base, Version=5.102.0.51, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' is not marked as serializable.

how will i get rid of it and what do i do to get rid of it

Regards: Wicus

Lodewicus Moolman
Replied On July 11, 2007 12:59 AM

Hi Meera,

there was a mistake with my last post, the exception occurs when i click my save button.
The exception is on the savebinary

sorry for any confusion

Regards: Wicus

Meera Fathima [Syncfusion]
Replied On July 11, 2007 01:10 AM



Hello Wicus,

Thanks for the update. Are you using customized port(Connection Point) class in your application? If yes, please make sure that your custom port class is marked with the [Serializable()] attribute.

If you still finds any problem with this, could you please send me a small sample that is used to reproduce the issue? So that I can work in depth and try to send the solution soon.

Best Regards,
Meera.

Syncfusion, Inc.
http://www.syncfusion.com/


Lodewicus Moolman
Replied On July 11, 2007 05:22 AM

Hi Meera,

Your help is very much appretiated ,i have what i need now so thanks alot.

Thanks alot

Regards: Wicus

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.

;