Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditShape.LockAspectRatio Property

Specifies if an end-user can change the floating shape’s aspect ratio by using the corner sizing handles or the Layout dialog.

#Declaration

Delphi
property LockAspectRatio: Boolean read; write;

#Property Value

Type
Boolean

#Remarks

Set this property to True or False to forbid or allow end-users to change the floating shape’s dimensions independently by dragging one of its corner sizing handles.

The LockAspectRatio property corresponds to the “Lock aspect ratio” checkbox on the Layout control’s Size tab:

Note

With the LockAspectRatio property set to True, an end-user is still able to change the floating shape’s height-to-width ratio by dragging a left, top, right, or bottom sizing handle.

The default LockAspectRatio property value is False.

See Also