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. Image for the cookie policy date
close icon

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

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.


CodeExample:


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

1 Reply

SK Swarnesh Krishna Kumar Syncfusion Team 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.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Regards,

Swarnesh K. 


Loader.
Live Chat Icon For mobile
Up arrow icon