Image.GetProportionalWidth

Image.GetProportionalWidth method

获取等比例宽度。

public static int GetProportionalWidth(int width, int height, int newHeight)
参数类型描述
宽度Int32宽度。
高度Int32高度。
newHeightInt32新的高度。

返回值

比例宽度。

另请参见