Back to Devexpress

IdxRichEditDocumentImage.LockAspectRatio Property

vcl-dxrichedit-dot-nativeapi-dot-idxricheditdocumentimage-3f70d9c2.md

latest1.6 KB
Original Source

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

IdxRichEditDocumentImage.GetLockAspectRatio

IdxRichEditDocumentImage.SetLockAspectRatio

IdxRichEditShape.LockAspectRatio

IdxRichEditDocumentImage Interface

IdxRichEditDocumentImage Members

dxRichEdit.NativeApi Unit