How to generate an PDF file
Hello everyone
I am trying to create pdf file on button click event. For this I am useing createPDF() function. its working fine but not as excepted because while i am passing any text file as input to this function it create one pdf but that pdf file having Image of that text file data. not actual data is there any why to create pdf without image as its data .....?
Thanks in advance

