Article View: adobe.acrobat.sdk
Article #259Acrobat 9: IAC window problem when opening a pdf
From: berndt
Date: Mon, 23 Mar 2009 12:09
Date: Mon, 23 Mar 2009 12:09
22 lines
1494 bytes
1494 bytes
Hello, I got a C# program , which can iterate over a number of pdf files in a directory. I used the following code for the first document: ... CAcroApp AcrobatApp = new AcroAppClass(); AVDoc = new AcroAVDocClass(); AVDoc.Open(filename1,""); AcrobatApp.Show(); ... So far so good. Acrobat starts and shows the loaded document. The Code for stepping to the next document is: ... AVDoc.Close(0) AVDoc.Open(filename2,""); ... The document is closed and the empty Acrobat window (same as if you open a PDF in Acrobat 9 and then select "File|Close" from the menu). Instead of using this empty frame the next "AVDoc.Open.." a new window is created for the next document. Can I somehow tell Acrobat to open the new document in the "empty" Acrobat window instead of opening a new one? (Might be a SDI problem of Acrobat 9, since the code worked well for all older versions of Acrobat using the MDI interface) Thanks a lot, RenοΏ½
Technical Details
Message-ID:
<59b861a1.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 10177e,3372fbc8602d7f6,start X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII From: berndt@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Acrobat 9: IAC window problem when opening a pdf Message-ID: <59b861a1.-1@webcrossing.la2eafNXanI> Date: Mon, 23 Mar 2009 05:09:59 -0700 Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit