Hi, i’m trying to display a PDF file on my Mac standalone application and i have no idea how to do it.
Any ideas, maybe somebody could help me?
Thanks, best regards.
Hi, i’m trying to display a PDF file on my Mac standalone application and i have no idea how to do it.
Any ideas, maybe somebody could help me?
Thanks, best regards.
You need to look up the PDF file format and create you’re own custom PDF renderer.
Try looking through this stackoverflow thread:
http://stackoverflow.com/questions/518878/how-to-render-pdfs-using-c-sharp
Instead of using a custom PDF renderer (which could be overkill, depending on your needs), you could either
Edit:
From Rod Green’s answer, I came to this link with two clicks:
Using Ghostscript for PDF > JPG conversion
Ghostscript (which is a pdf renderer) should even be available for Mac.
This may not provide the user experience you want, but worth mentioning that the Application.OpenURL method will open a browser to the provided URL, which you could use to display PDF files from the web (http:// URL) or local storage (file:// URL).
This seems to do a good job: francescogallorini.com - francescogallorini Resources and Information.. It doesn’t require extra libraries.
I know I am posting offtopic question here , since i was unable to find any post regarding the sharp pdf with unity3d I am using the sharp pdf package with unity3d and i am facing difficulties for windows platform like:
Can anyone please help me out, it would be great help…Thank you in advance.