Font sizes are not displaying correctly
SymptomsSetting the font.Size property does not result in the expected change to the rendered font size.
CauseThe most typical cause of this problem is that the font.Size property value is passed into the HTML page as a string for the StyleSheet font-size property. The StyleSheet value for font-size requires a specifier which determines what unit of measure to use ("pt", "em" or "px").
Set the font.Size property using the desired unit of measure: