Thread View: adobe.acrobat.sdk
2 messages
2 total messages
Started by Rajeshrv
Wed, 25 Mar 2009 10:44
Creating instance to CAcroPDDoc taking time
Author: 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?
Re: Creating instance to CAcroPDDoc taking time
Author: Leonard_Rosenthol
Date: Wed, 25 Mar 2009 12:05
Date: Wed, 25 Mar 2009 12:05
1 lines
775 bytes
775 bytes
To instantiate Acrobat, it has to be running. If it is not already, then it needs to be launched. That is probably the time delay you are seeing...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads