New Forum | Previous | Next | (P-PDF) Developers
Topic: RE: Splitting PDFs by Page Size
Conf: (P-PDF) Developers, Msg: 58571
From: Deleted User
Date: 5/29/2002 05:33 PM
In the Acrobat IAC documentation(Reference) there is a method for getting
the size (Height/Width) of a Page.
AcroExch.PDPage.GetSize is the method name used to extract this information,
the information will need to be converted to Inches/CM from the Acrobat
Points Coordinate system. Page 61 of the IAC Overview explain the Point
system and also what it's worth in Inches etc.
Have a browse through the IAC section on CodeCuts (http://www.codecuts.com)
for some ideas on how to cycle through pages in a PDF.
> I am writing a VB App which will split a PDF file into two, one which will
> hold standard 8 1/2" by 11" pages and the other will hold all the abnormal
> sized pages. I have Exchange 4.0, and VB 6.0. Any ideas on how to extra
> the page sizes? I have example already on how to take a from a PDF and
> write it to another page.