This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

only resize the width of Objects drived from VObject.

mzhao#15807
Hello, we want to turn off resizing the height of object class drived from VObject.

There is "SupportedActions[VObjectAction.Resize].Enabled = false" but this turn off resizing completely.

We want to only turn off resizing the height of an object and still enable resize the width of an object:

eg. if an instance of a RectangleVObject has 77 in width and 22 in height. We want to keep this RectangleVObject instance's height =22 at all time no matter how it is dragged by resizing control points.

What is the best approach to do this?
Dmitry.Obukhov#15809
Hello Ming,

Unfortunately, it is not possible to disable resizing for height of image only.