ProportionallyResizeForNewHeight

Dimensions.ProportionallyResizeForNewHeight method

Creates and returns new “Dimensions” instance, which is proportionally resized from current, based on specified height

public Dimensions ProportionallyResizeForNewHeight(ushort targetHeight)
Parameter Type Description
targetHeight UInt16 New target height, that will be present in resultant Dimension

Return Value

New “Dimensions” instance with specified target height and proportionally resized width

See Also