export text to pdf vc++/mfc.
-
Hi, I have to convert a text report to a PDF file... I done the first half., and now i have to create the PDF file from the text file... (ie., "murugan.txt"-->"murugan.pdf"). In one of a forum told that we can do this using CFile,CSTDIO FILE.. i don't know how to handle the conversion with the help of these files., can any one pls help me to do this., thank for your great help. murugan.K
-
Hi, I have to convert a text report to a PDF file... I done the first half., and now i have to create the PDF file from the text file... (ie., "murugan.txt"-->"murugan.pdf"). In one of a forum told that we can do this using CFile,CSTDIO FILE.. i don't know how to handle the conversion with the help of these files., can any one pls help me to do this., thank for your great help. murugan.K
Murugan k wrote:
In one of a forum told that we can do this using CFile,CSTDIO FILE..
Wow, that would need that you need to know the format of PDF and encode everything yourself. That's a quite a bit extreme. Why don't you simply use an existing library that does the job for you ? You can find one here[^] for example (I'm sure if you search a little bit, you'll find plenty of).
Cédric Moonen Software developer
Charting control [v1.1]