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

IdxRichEditDocumentImage.LockAspectRatio Property

Specifies if an end-user can change the inline image’s height-to-width ratio by using a corner sizing handle or the Layout dialog.

#Declaration

Delphi
property LockAspectRatio: Boolean read; write;

#Property Value

Type
Boolean

#Remarks

Set this property to False or True to allow or forbid and-users to change the inline image 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 inline image’s aspect ratio by dragging a left, top, right, or bottom sizing handle.

The default LockAspectRatio property value is True.

See Also