Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Superscripts and subscriptsI was wondering if there is a foolproof way of reproducing superscripts and subscripts using drawstring. I have been able to get it done using a combination of measurestring, string-lengths, etc. But the horizontal positioning of the super- or sub-scripts have been dependent on the fonts under use. Is there a genearized way of achieving the perfect effect? Or is there a facility/utility available within DotNet that I am not aware of. Thanks.
Superscripts and subscripts
I was wondering if there is a foolproof way of reproducing superscripts and subscripts using drawstring. I have been able to get it done using a combination of measurestring, string-lengths, etc. But the horizontal positioning of the super- or sub-scripts have been dependent on the fonts under use. Is there a genearized way of achieving the perfect effect? Or is there a facility/utility available within DotNet that I am not aware of. Thanks.