ProportionallyResizeForNewWidth

Dimensions.ProportionallyResizeForNewWidth method

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

public Dimensions ProportionallyResizeForNewWidth(ushort targetWidth)
Parameter Type Description
targetWidth UInt16 New target width, that will be present in resultant Dimension

Return Value

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

See Also