Preview Pdf file

Post Reply
User avatar
Eoeo
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Preview Pdf file

Post by Eoeo »

Antonio,

Can we preview a pdf in a dialog or window?
User avatar
Uwe.Diemer
Posts: 81
Joined: Mon Aug 09, 2010 11:00 am

Re: Preview Pdf file

Post by Uwe.Diemer »

no :) :) :)
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Preview Pdf file

Post by Otto »

My document Viewer previewing pdf files
Regards,
Otto
http://www.atzwanger-software.com/fw/pd ... iewer.html
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Preview Pdf file

Post 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
 
kind regards
Stefan
User avatar
Eoeo
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: Preview Pdf file

Post by Eoeo »

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