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.SetLockAspectRatio(Boolean) Method

Enables or disables the “Lock aspect ratio” mode for the inline image.

#Declaration

Delphi
procedure SetLockAspectRatio(const Value: Boolean);

#Parameters

Name Type
Value Boolean

#Remarks

Call this procedure to change the inline image’s corner size handle behavior. Options include:

Value

Description

Example

True

The “Lock aspect ratio” mode is enabled.

Any corner size handle movement keeps the inline image’s aspect ratio.

False

A specific drag direction angle affects the inline image’s aspect ratio. Users can drag a corner size handle to change both image dimensions independently.

This mode does not affect the left, top, right, and bottom size handles.

The SetLockAspectRation procedure is the LockAspectRatio property’s setter.

See Also