Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Subscript text in pdf C#

9 like 0 dislike
How do I insert a subscript charachter in a string in C#? I have nor problems appending a superscript 2 in the same string using char.ConvertFromUtf32(178);, but I struggle with finding a similar solution for the subscripted text. Actually, I'm struggling with finding ANY solution at all to this rather embarrassing issue. :)
asked 2 years ago by eagles11 (179,830 points)

1 Answer

0 like 0 dislike
Plain text doesn't have formatting, like superscript, subscript, bold, italic and/or colors. 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 look into the formatting options provided by your PDF creation library.
answered 2 years ago by DBA-boss (120,990 points)

Related questions

8 like 0 dislike
1 answer
asked 2 years ago by webmaster (25,380 points)
13 like 0 dislike
2 answers
4 like 0 dislike
2 answers
4 like 0 dislike
0 answers
asked 1 year ago by eagles11 (179,830 points)