Click here to Skip to main content
15,884,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using pdf sharp to create and download pdf. I need to display m² in my pdf. The superscripts and subscripts are not been displayed on pdf and shows some error. If I use 2 instead of ², its fine.
Posted
Updated 20-May-15 2:11am
v2
Comments
CHill60 20-May-15 8:16am    
What is the "some error"?
Paulo Augusto Kunzel 20-May-15 15:04pm    
Are you trying to pass a string? have you looked into globalization?
RENJITH VS 20-May-15 23:43pm    
I need to create and download pdf. In pdf sharp, it only display characters which are on our keyboard the characters typing with the help of alt key cannot be displayed and shows object reference not set to an instance error. If I check condition:
if(a.contains("²")
{
//replace with 2
}
works fine. But ² cannot be 2. I am stuck on that. Please help me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900