Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

I don't know what happens and what changes, but the issue is in font size. Your version

 

FontSize='0.8'

 

doesn't work. You need to change it to some another form

 

FontSize='8,e-002' - Readed from manually modified text
or
FontSize='8e-2' - Also works

 

Or you can use standard number format "e"

 

Dim fontSize = 0.8
Dim fontSizeString = fontSize.ToString("e")
oTextBox.FormattedText = "<StyleOverride FontSize = '"& fontSizeString & "' Font = 'Arial'>" & oTextBox.Text & "</StyleOverride>"

 

 

EDIT

It is a localization issue. Because this works too :grinning_face:

FontSize='0,8'