Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acrobat Reader
Message
 
To
13/09/1999 10:58:48
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00263994
Message ID:
00264217
Views:
22
If what you need is to see the pdf within a windows in you application, you can use the ActiveX installed by Acrobat Reader 4.0.
* Create a window with a pdf ActiveX.
frm = CreateObject('form1')
frm.show()
Read Events

* Control installed by Acrobat Reader 4.0
DEFINE CLASS form1 AS form
    
    Top = 5
    Left = 5
    Height = 445
    Width = 565
    Caption = "PDF Viewer ActiveX"
    Name = "Form1"

    ADD OBJECT acrobatviewer AS olecontrol WITH ;
        Oleclass = "PDF.PdfCtrl.1", ;
        Top = 0, ;
        Left = 0, ;
        Height = 445, ;
        Width = 565, ;
        Name = "AcrobatViewer"

    PROCEDURE Resize
        DoDefault()
        this.AcrobatViewer.Height = this.Height
        this.AcrobatViewer.Width = this.Width
    ENDPROC
	
    PROCEDURE Destroy
        Clear Events
    ENDPROC

    PROCEDURE acrobatviewer.Init
        this.setshowtoolbar(.f.)
        this.loadfile(GetFile('pdf'))
    ENDPROC

ENDDEFINE
>I need the ability to read acrobat files(pdf) into my application ...
>
>It sounds simple enough:)
>
>Any examples would be helpful ... Thanks!

Just an opinion... Not a fact.
Previous
Reply
Map
View

Click here to load this message in the networking platform