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.

Inch base drawing on diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

82202 Jun 4,2009 04:07 AM Jun 4,2009 05:33 AM Windows Forms 1
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On June 4, 2009 04:07 AM

Hi,
I am using diagram control for drawing rectangle. This control drew rectangles based on pixels. But i want to display rectangles based on inches. plz, help me how to show inch values' rectangles on diagram control?

Gowri Manohari D [Syncfusion]
Replied On June 4, 2009 05:33 AM

Hi Rajeswari ,

Thanks for choosing Syncfusion Products.


MeasureUnit is one of the argument of Rectangle class. We can specify the MeasureUnits for your requirement as MeasureUnits.Inch.The below code illustrate this.

Syncfusion.Windows.Forms.Diagram.Rectangle r =
new Syncfusion.Windows.Forms.Diagram.Rectangle(1,1,3,1, MeasureUnits.Inch);
diagram1.Model.AppendChild(r);


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.

;