Article View: adobe.acrobat.sdk
Article #130Creating instance to CAcroPDDoc taking time
From: Rajeshrv
Date: Wed, 25 Mar 2009 10:44
Date: Wed, 25 Mar 2009 10:44
11 lines
1135 bytes
1135 bytes
When I try to create a instance to CAcroPDDoc, as follows,
CAcroPDDoc _objPDDoc = new AcroPDDocClass();
or
CAcroPDDoc _objPDDoc = (Acrobat.CAcroPDDoc) Microsoft.VisualBasic.Interaction.CreateObject("AcroExch.PDDoc", "");
above mentioned statement takes about 1.6 to 2 seconds, which accounts for the performance bottleneck in my application.
When I try to do the same with acrobat window opened seperately then the time taken is 20 milli seconds or zero seconds.
My question is,
Is there anything we can do to bring this time down?
Technical Details
Message-ID:
<59b8670d.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 10177e,47addd731c5c6c0d,start X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Rajeshrv@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Creating instance to CAcroPDDoc taking time Message-ID: <59b8670d.-1@webcrossing.la2eafNXanI> Date: Wed, 25 Mar 2009 03:44:24 -0700 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit