Back to Devexpress

ImageEdit.CropAreaRatioY Property

maui-devexpress-dot-maui-dot-editors-dot-imageedit-d4d99510.md

latest1.4 KB
Original Source

ImageEdit.CropAreaRatioY Property

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

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public int CropAreaRatioY { get; set; }

Property Value

TypeDescription
Int32

The crop area ratio by the Y axis.

|

Remarks

Use the CropAreaRatioX property to specify the crop area ratio by the X axis.

Example

This example shows how to change the crop frame ratio:

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

See Also

ImageEdit Class

ImageEdit Members

DevExpress.Maui.Editors Namespace