Skip to main content

IdxRichEditDocumentImage.SetLockAspectRatio(Boolean) Method

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

Declaration

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