PDFNet does come with an out of the box QT (or wxWidget, MFC, etc...) widget, but you can use the library to quickly implement a framework specific widget.
There are couple of options to implement your PDF QT Widget:
a) The simplest and fastest option is to use 'pdftron.PDF.PDFView' - which is a platform and framework independent PDF viewer. You would use view.SetRenderBeginProc/SetRenderFinishProc() to supply your widget 'OnPaint' callbacks and you process other messages/events and then invoke corresponding PDFView methods (
http://www.pdftron.com/pdfnet/html/classpdftron_1_1PDF_1_1PDFView.html)
Fore a bit more details please see:
b) use pdftron.PDF.PDFRasterizer or PDFDraw to render pages and implement your own viewer. Despite of what it may seem on first look, this is _lots_ of work and I would not recommend this approach unless you have very particular requirements that can't be fulfilled with the 'pdftron.PDF.PDFView'.
On Monday, July 2, 2012 8:33:29 AM UTC-7, Francesco Giorgi wrote:
how can i do ?
thx