Click or drag to resize
ImageCalcAutoWidth Method
Calculate width automatically based on height, to maintain texture's original ratio. For example if you have a texture of 400x200 pixels (eg 2:1 ratio) and its height in pixels is currently 100 units, calling this function will update this image width to be 100 x 2 = 200.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void CalcAutoWidth()
See Also