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.

Drawing Objects

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 03:33 AM

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.

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.

;