Exporting PDF report from game
Hello guys,
I am creating an scaffolding construction whitin the game, and would like to export an PDF or HTML file with couple of picutres from different sides, and simple report like list of elements, weights and stuff.
Is it possible and if it is, how to do it?
I know it is not very common that somebody wants to export PDF from game but that would be very important feature in my project. I have seen iTextSharp as an option, but I am not sure if it works. Example or a reference would be great.
Thanks in Advance
Answer by F35Lightning · Jun 09, 2016 at 06:22 PM
Not sure if its even possible to do that, tho why not just make the reports in-game rather than as a PDF file outside of the game? That is unless you are working on some kind of a simulation program then its a different story. Regardless I would take a look at these pages as they give solutions to this sort of, however none of them are in PDF and i doubt there is a solution to that since there has to be a medium to convert the game file to a PDF format (i think) which is impossible.
Hope i helped Here are the links: http://answers.unity3d.com/questions/130311/create-text-file.html
http://answers.unity3d.com/questions/141782/how-do-i-read-read-from-and-write-to-a-text-file.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612082551im_/https://answers.unity.com/themes/thub/images/avi.jpg)