Is it possible to use the Synopse SynPDF library to View a PDF file?
I've come across the excellent PDF Library code SynPDF and would like开发者_如何学编程 to use it to display a PDF document in a Delphi form (I cant use an imported 'Acrobat Control for ActiveX' control because it has issues with stealing the focus when it appears - plus a few other wrinkles). I cannot see any 'LoadFromFile' or indeed any parsing-type commands within SynPDF.pas. It is designed only for creating PDF documents?
I've answered in our forum your question you posted there. It's the first place to ask for such dedicated answer IMHO.
Here is my answer (for SO users):
The purpose of this library is to create pdf file from scratch, not read, modify or view them. Sorry.
So you'll have to use an external viewer, like Acrobat Reader Active X. Or some commercial libraries like this one.
Thanks for your interest!
精彩评论