Back to Devexpress

IdxRichEditShape.LockAspectRatio Property

vcl-dxrichedit-dot-nativeapi-dot-idxricheditshape-6f57545b.md

latest1.2 KB
Original Source

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

IdxRichEditShape Interface

IdxRichEditShape Members

dxRichEdit.NativeApi Unit