MediaElement.AspectRatioWidth 属性

定义

获取媒体本机纵横比的宽度部分。

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

属性值

Int32

int

媒体本机纵横比的宽度部分。 此值仅在将其与 AspectRatioHeight 属性的值进行比较时才有意义;这两个属性共同描述纵横比。

适用于