TextHeight vs TextEdit.Height

How best to calculate a new height for a TextEdit control if the Font or FontSize changes (dynamically during runtime)