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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Always a straight line (from one grid to another grid) but it doesn't work

Thread ID:





121194 Nov 18,2015 10:48 AM UTC Nov 19,2015 12:28 PM UTC WinForms 1
Tags: Diagram
Blanca Calderon
Asked On November 18, 2015 10:48 AM UTC

2) I always wanta straight line, from one pixel to another pixel of the grid but straight line.
It's almost impossible to draw a straight line.

We suggest you to set false for AllowMoveY for Connectors HeadEndPoint and TailEndPoint in order to achieve your requirement.


LineConnector line = new LineConnector(new PointF(100, 100), new PointF(400, 100));

//By setting false AllowMoveY for both HeadEndPoint and TailEndPoint it will draw a straight line.

line.HeadEndPoint.AllowMoveY = false;
line.TailEndPoint.AllowMoveY = false;

Attachment: Video_1447847184_cae7098d.zip

Swarnesh Krishna Kumar [Syncfusion]
Replied On November 19, 2015 12:28 PM UTC

Hi Blanca,

We are analyzing your requirement and checking internally to customize the LineTool during Draw operation. We have created a support incident under your account to track the status of this requirement. Please log on to our support website to check for further updates.



Swarnesh K. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon