Preview Pdf file

Preview Pdf file

Postby Eoeo » Sun Sep 09, 2012 4:43 pm

Antonio,

Can we preview a pdf in a dialog or window?
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: Preview Pdf file

Postby Uwe.Diemer » Sun Sep 09, 2012 5:26 pm

no :) :) :)
User avatar
Uwe.Diemer
 
Posts: 98
Joined: Mon Aug 09, 2010 11:00 am

Re: Preview Pdf file

Postby Otto » Sun Sep 09, 2012 6:57 pm

My document Viewer previewing pdf files
Regards,
Otto
http://www.atzwanger-software.com/fw/pdfviewer/pdfviewer.html
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Preview Pdf file

Postby StefanHaupt » Mon Sep 10, 2012 7:40 am

Try this code

Code: Select all  Expand view
#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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Preview Pdf file

Postby Eoeo » Mon Sep 10, 2012 2:05 pm

thanks run ok I must try it into a dialog ( folder)
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests