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.
Syncfusion Feedback

Drawing Objects

Thread ID:

Created:

Updated:

Platform:

Replies:

82087 Jun 1,2009 10:29 AM UTC Jun 3,2009 07:33 AM UTC Windows Forms 1
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On June 1, 2009 10:29 AM UTC

It is clear how to create the drawing objects.
But how can I eliminate the control points for the object.

Sample Code:

_workRectangle = new Syncfusion.Windows.Forms.Diagram.Rectangle(x, y, (float)_Width, (float)_Height);
_workRectangle.EditStyle.AllowMove = false;
_workRectangle.EditStyle.AllowResize = false;
_workRectangle.EditStyle.AllowRotate = false;
_workRectangle.EditStyle.HidePinPoint = true;
_workRectangle.EditStyle.AllowDelete = false;
_workRectangle.EditStyle.HideRotationHandle = true;
_workRectangle.LineStyle.LineWidth = 0.5f;

Gowri Manohari D [Syncfusion]
Replied On June 3, 2009 07:33 AM UTC

Hi Kris,

Thanks for choosing Syncfusion Products.

For removing Control Points in the Object add the below line of code.

_workRectangle.EditStyle.AllowSelect = false;



Thanks & Regards,
Gowri

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.

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

;