Page 1 of 1

Preview Pdf file

Posted: Sun Sep 09, 2012 4:43 pm
by Eoeo
Antonio,

Can we preview a pdf in a dialog or window?

Re: Preview Pdf file

Posted: Sun Sep 09, 2012 5:26 pm
by Uwe.Diemer
no :) :) :)

Re: Preview Pdf file

Posted: Sun Sep 09, 2012 6:57 pm
by Otto
My document Viewer previewing pdf files
Regards,
Otto
http://www.atzwanger-software.com/fw/pd ... iewer.html

Re: Preview Pdf file

Posted: Mon Sep 10, 2012 7:40 am
by StefanHaupt
Try this code

Code: Select all

#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
 

Re: Preview Pdf file

Posted: Mon Sep 10, 2012 2:05 pm
by Eoeo
thanks run ok I must try it into a dialog ( folder)