In this example , we are going to explain how we
can make symbols using iText api,s. We are using integer values which
will converted it into symbol. For this we just convert the integer
value into its character value.
In this example we convents the integer values from 33 to 255 and 913 to 969 into character by using explicit casting of integer values to character values. We use add(Phrase.getInstance(String s)) method to add the values into the document.
The code of the program is given below:
The output of the program is given below:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: March 13, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles