Skip to main content

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

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