Loading...

save ONE single page as PDF possible ?

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

save ONE single page as PDF possible ?

Postby bdcsoho » Sat Nov 14, 2009 11:02 pm

Problem.
I am showign a 8page pdf on screen (after having it converted to TIF first).
This goes fine.
NOw i want to create an app which should allow me to process a PDF document page by page.
For example, page 1 should be assigned to case A
Page 2 should be assigned to case AB12#HH
page 3 should be assigned to another case

All the logic is in place, except ... *how* can I save one single page (active on screen in gdimaging object) to PDF without having to perform any conversion ?

Do you have the code to do this ?

Thanks,
sven
bdcsoho
 
Posts: 26
Joined: Mon Sep 29, 2008 11:14 pm

Re: save ONE single page as PDF possible ?

Postby Loïc » Sun Nov 15, 2009 5:12 pm

Hi,

Yes it is possible. Just use the SaveAsPDF() method.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: save ONE single page as PDF possible ?

Postby bdcsoho » Mon Nov 16, 2009 11:22 pm

hello Loïc,

great, that works !

but ... if my original pdf file is 100K in size, and consists of 8 pages.

If I use that function saveaspdf, the resulting PDF is almost 180K in size for one page.

Something doesn't seem to be right here, or am I overseeing something in order to keep the size of this new onepage PDF to the lest size possible ?

Thanks in Advance,
bdcsoho
 
Posts: 26
Joined: Mon Sep 29, 2008 11:14 pm


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron