Im trying to make a "®" sign raised from the rest of the text in the line and make it about 40% smaller.
Code looks like this:
Code |
Searching google has not been that successful :)
Was hoping to get a pointer from here.
Kind regards
Kasper
Code |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted Mar 1, 2010, 2:51 AM EST
you can do Super Script and SubScript in RichText Box ...its not possible with string because String Does not understand formatting..
Kasper Munck3 reputationPosted Mar 1, 2010, 3:32 AM EST
After my post i ran into something usefull.
Code now looks like this:
new Run("Mycompany product");
new Run("®"){BaselineAlignment = BaselineAlignment.Top, FontSize = 8});
This made it look just the way i wanted, so that it now looks like "Product®" as i wanted it to.
But thanks for the quick reply :)
Kind Regard
Kasper