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
close icon

Maintaining proportions on symbol resize?

While resizing a symbol on the diagram is there a built-in way to maintain proportions of the size? Photoshop (for example) does this when you hold down the shift-key.

I''m sure it''s easy enough to implement this ourselves, but before we do, I just wanted to make sure...


Thanks!

1 Reply

AD Administrator Syncfusion Team August 3, 2006 10:31 AM UTC

Hi Jeff,

My apologies for the delay in getting back to you.

If you intend to resize the symbols proportionally , then the Diagram symbols can be resized proportionally by stretching the corner selections with the resize handle.

If you want you can disable resizing of symbols using one of the dimensions ( Height/Width ) by overriding the DrawResizeHandle(..) method.

I have created a sample implementing this feature,kindly refer the attached sample .I hope this would help you to resize symbols as you wish.

Thanks for your patience.

Thanks & Regards,
Ramya.

ResizeProportional.zip

Loader.
Live Chat Icon For mobile
Up arrow icon