public float GetPreferredHeight (string str, TextGenerationSettings settings);

Parameters

strGeneration text.
settingsSettings for generation.

Returns

float Preferred height.

Description

Given a string and settings, returns the preferred height for a container that would hold this text.