ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageENIO.SaveToFilePDF

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
JohnnyT Posted - Jun 21 2011 : 13:50:08
Does this method support multi-page PDF's.

I am trying to use it by loading a multipage tif, then saving to a PDF.
I only get a PDF that contains the first page.

Thanks for any help you may be able to provide.

John
2   L A T E S T    R E P L I E S    (Newest First)
JohnnyT Posted - Jun 22 2011 : 08:05:51
Fabrizio,

Sorry that I missed this in the help file.

It works like a charm now.

Thanks very much.

John
fab Posted - Jun 21 2011 : 13:59:04
This is an example (from the help file) using TImageEnView:

ImageEnView1.IO.CreatePDFFile( 'output.pdf' );

// load and save page 1
ImageEnView1.IO.LoadFromFile('page1.tiff');
ImageEnView1.IO.Params.PDF_Compression:= ioPDF_G4FAX; // G4Fax compression
ImageEnView1.IO.SaveToPDF;

// load and save page 2
ImageEnView1.IO.LoadFromFile('page2.tiff');
ImageEnView1.IO.Params.PDF_Compression:= ioPDF_G4FAX; // G4Fax compression
ImageEnView1.IO.SaveToPDF;

..other pages..

// close PDF file
ImageEnView1.IO.ClosePDFFile;



This is an example (still copied from the help file...) using TImageEnMView:


// load a multipage TIFF and save back to a multipage PDF file
ImageEnMView.MIO.LoadFromFile('multipage.tiff');
ImageEnMView.MIO.SaveToFilePDF('output.pdf');