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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Inch base drawing on diagram

Thread ID:





82202 Jun 4,2009 08:07 AM UTC Jun 4,2009 09:33 AM UTC WinForms 1
Tags: Diagram
Administrator [Syncfusion]
Asked On June 4, 2009 08:07 AM UTC

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 09:33 AM UTC

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);

Thanks & Regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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