Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Acrobat IAC InsertPages problem

Status
Not open for further replies.

rfedyk

Programmer
Feb 15, 2002
29
AU
I have 2 different PDF sources that are being merged into a single PDF. The first source is a group of TIFF files that have been converted into PDF. The second source is a PDF file containing accounting information.

I am using the Acrobat IAC OLE Automation Server and specifically I use the PDDOC.InsertPages method to put a page from the converted TIFFs PDF file into an end-user PDF file followed by 1,2 or 3 pages from the accounting PDF file.

My problem is that the end-user file shows the merged pages at different zoom resolutions. The TIFF PDF pages are 5 times larger than the accounting pages.

Any ideas? Thanks in advance

Roger Fedyk
 
I do not have time to experiment but you may want to try the ZoomTo method of the AVPageView object.

Zoom Strategies:
AVZoomNoVary --> No variable zoom (that is, zoom is a fixed value such
as 100%). Use this for XYZ zoom.
AVZoomFitPage --> Fit page to window.
AVZoomFitWidth --> Fit page width to window.
AVZoomFitHeight --> Fit page height to window.
AVZoomFitVisibleWidth --> Fit visible width to window.

From the PDDoc object, you could use the OpenAVDoc method to get the AVDoc object.

From the AVDoc object, you could use the GetAVPageView method to get the AVPageView object.
 
I have fixed the problem which actually had nothing to do with Acrobat. Thanks for the input.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top