Share via


CropRegion.AspectRatio Property

Definition

The aspect ratio of the crop region. Aspect ratio is calculated by dividing the width of the region in pixels by its height in pixels. The aspect ratio will be in the range 0.75 to 1.8 (inclusive) if provided by the developer during the analyze call. Otherwise, it will be in the range 0.5 to 2.0 (inclusive).

public float AspectRatio { get; }
member this.AspectRatio : single
Public ReadOnly Property AspectRatio As Single

Property Value

Applies to