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.

MeasureUnit property on ruler object

Thread ID:





74085 May 29,2008 09:32 AM May 30,2008 04:49 AM Windows Forms 1
Tags: Diagram
Administrator [Syncfusion]
Asked On May 29, 2008 09:32 AM

Hallo syncfusion team. the ruler object has a measureUnit property but if i set this property to a value like centimeter or millimeter, it seems that has no change for the ruler. I expected that the measure lables will have a greater/lower distance to each other. Whats wrong, please help!

Kind regards, michi

J.Nagarajan [Syncfusion]
Replied On May 30, 2008 04:49 AM


Currently the Ruler's MeasurementUnit gets changed according to the Model's MeasurementUnit. Could you please change the MeasurementUnit of the DiagramModel to change the ruler's MeasurementUnit.

this.diagram1.Model.MeasurementUnits = MeasureUnits.HalfInch;

Please let me know if this helps.



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.