Jaa


MediaElement.AspectRatioHeight Property

Definition

Gets the height portion of the native aspect ratio of the media.

public:
 property int AspectRatioHeight { int get(); };
int AspectRatioHeight();
public int AspectRatioHeight { get; }
var int32 = mediaElement.aspectRatioHeight;
Public ReadOnly Property AspectRatioHeight As Integer

Property Value

Int32

int

The height portion of the native aspect ratio of the media. This value holds meaning only when you compare it with the value for the AspectRatioWidth property; the two properties together describe the aspect ratio.

Applies to