How to resize page contents...

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

DSSavant
User
Posts: 216
Joined: Thu Jul 08, 2004 7:29 pm

How to resize page contents...

Post by DSSavant »

I have a need to take an existing PDF Page and proportionally "scale it down" such that I can free up some space at the bottom of the page for a bar code and document number. Is there a way to do this while retaining its PDF characteristics? I realize that annotations and form fields along with popup note windows will tend to get a bit tricky.

One way is to flatten the contents into an image and then place the image on a page scaled as necessary. This implies that the image can have popup note windows flattened into them though.

Another way is simply to copy the contents to a slightly larger page. This implies that the printing process will scale the page down to the paper size.

Any ideas would be appreciated.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: How to resize page contents...

Post by Vasyl - PDF-XChange »

Hi, DSSavant.

Look to PDf-Tools SDK(PRO), the function PXCp_TransformPage(...) can help you...

HTH
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.