Subscript pdf c # text

How can I insert a string character into a string in C #? I have no problem adding superscript 2 to one line using char.ConvertFromUtf32(178);

, but I am struggling with finding a similar subscript solution. In fact, I am struggling to find ANY solution for this rather embarrassing problem. :)

+2


a source to share


2 answers


Plain text has no formatting, such as superscript, index, bold, italic, and / or color. You need to use some "rich text" format.
The type of "rich text" depends on where you want to use it. Examples: HTML, RTF.



For PDF, you need to examine the formatting options provided by your PDF creation library.

+1


a source


The PDF authoring library I'm using didn't offer much. One workaround I could find is to select equal ascii values ​​from the charecter map and add it to the existing string.



+1


a source







All Articles