Skip to main content

ImageEdit.CropAreaRatioX Property

Gets or sets the crop area ratio by the X axis. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public int CropAreaRatioX { get; set; }

Property Value

Type Description
Int32

The crop area ratio by the X axis.

Remarks

Use the CropAreaRatioY property to specify the crop area ratio by the Y axis.

Example

This example shows how to change the crop frame ratio:

<dxe:ImageEdit ...
                CropFrameRatioX="9"
                CropFrameRatioY="16" 
                CropFrameShape="Rectangle"/>
<dxe:ImageEdit ...
                CropFrameRatioX="16"
                CropFrameRatioY="9" 
                CropFrameShape="Rectangle"/>

DevExpress MAUI Image Edit - Ratio X Y

See Also