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. Image for the cookie policy date

can not change only Height on a rectangle.

I only need to change the Height size. When I try , the width change too.
I have try changing the oNode.EditStyle.AspectRatio property to false. But It does not take effect.
I have added the project for you to see it. But i think it is a big BUG on your product.

Thanks.




Diagram_fd24ef29.zip

1 Reply

AD Administrator Syncfusion Team March 12, 2009 07:19 AM UTC

Hi Rod,
Sorry for the inconvenience caused to you. The issue you have mentioned is a know one for which a feature request has been made. Currently it is not possible to change the width/height size alone and the reason for it is as follows:
Diagram.Windows allows us to change width or height. In ASP.NET we use rectangle image for each node, that's why we can't find only node area. User can't change aspect ratio.

Note: Diagram.Web resizing behavior is like group node resizing behavior in Diagram.Windows. Which you can notice in the attached zip file containing the images.

Regards,
Dinesh




nodeWeb_730e9338.zip

Loader.
Live Chat Icon For mobile
Up arrow icon