FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Preview Pdf file
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Preview Pdf file
Posted: Sun Sep 09, 2012 04:43 PM

Antonio,

Can we preview a pdf in a dialog or window?

Posts: 99
Joined: Mon Aug 09, 2010 11:00 AM
Re: Preview Pdf file
Posted: Sun Sep 09, 2012 05:26 PM

no :) :) :)

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Preview Pdf file
Posted: Sun Sep 09, 2012 06:57 PM
My document Viewer previewing pdf files
Regards,
Otto
http://www.atzwanger-software.com/fw/pdfviewer/pdfviewer.html
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: Preview Pdf file
Posted: Mon Sep 10, 2012 07:40 AM
Try this code

Code (fw): Select all Collapse
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd, oPdf

    DEFINE WINDOW oWnd

    oPdf = TActiveX():New( oWnd, "AcroPDF.PDF" )

    oPdf:LoadFile = "Test.pdf"

    oWnd:oClient = oPdf

    ACTIVATE WINDOW oWnd;
             MAXIMIZED

    RETURN NIL
kind regards

Stefan
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Preview Pdf file
Posted: Mon Sep 10, 2012 02:05 PM

thanks run ok I must try it into a dialog ( folder)

Continue the discussion