Image.GetProportionalHeight

Image.GetProportionalHeight method

获取等比例高度。

public static int GetProportionalHeight(int width, int height, int newWidth)
参数类型描述
宽度Int32宽度。
高度Int32高度。
newWidthInt32新的宽度。

返回值

比例高度。

另请参见