All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DrawingObject.LockAspectRatio Property

Specifies whether to maintain proportions of a shape when you resize it.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

bool LockAspectRatio { get; set; }
Property LockAspectRatio As Boolean

Property Value

Type Description
Boolean

true if a shape retains its original proportions when you resize it; otherwise, false.

Remarks

To resize a shape proportionally, set the LockAspectRatio property to true and specify the shape's Width or Height. The other dimension changes to a value that maintains the shape proportions.

The LockAspectRatio property value is ignored if you use the DrawingObject.Size property to specify the shape size.

See Also