## Aurigma Image Uploader 7.0.15

# ImageEditor.CropRatio Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets an aspect ratio of the crop rectangle.

## Syntax

### PHP

    public function getCropRatio() {
    }

    public function setCropRatio($value) {
    }

### Property Value

Type: number

The aspect ratio of the crop rectangle. If 0 no aspect ratio is given.

Default value is 0.

## See Also

### Reference

- Aurigma.ImageUploader.ImageEditor.CropRatio ASP.NET Property
- $au.imageEditor.cropRatio JavaScript Property