Hi itsbinsha, (If I mangled your name, please let me know.)
Would you re-post your code with the code tags surrounding it please? I ask because it looks like the indentations of some lines got messed up. It is not clear what part of the code is part of the class vs. what code is invoking it.
Get me the mayor's office! I need to tell him about this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java