Drawing Objects

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;

1 Reply

GM Gowri Manohari D Syncfusion Team 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

Loader.
Up arrow icon