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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 *.ien to *.pdf
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

aleatprog

80 Posts

Posted - Sep 01 2021 :  06:52:42  Show Profile  Reply
Hi,

I got some trouble while converting IEN in PDF maintaining the layers.

A) Using PDF_PaperSize := iepAuto the output PDF is blank.

ImageEnView1.IO.LoadFromFileIEN(IENFile);
ImageEnView1.IO.Params.PDF_PaperSize := iepAuto;
ImageEnView1.IO.SaveToFilePDF(PDFFile);

I tried with IO.SaveToFilePDF, IO.SaveToPDF and pdfBuilder.
Nota bene: PDF_PaperSize := iepAuto works with merged layers.


B) Using PDF_PaperWidth and PDF_PaperHeight instead, a searchable PDF is correctly generated but some text layers are only partially visible, some are missing at all (see example below).
ImageEnView1.IO.LoadFromFileIEN(IENFile);
ImageEnView1.IO.Params.PDF_PaperWidth := ImageEnView1.Layers[0].Width;
ImageEnView1.IO.Params.PDF_PaperHeight := ImageEnView1.Layers[0].Height;
ImageEnView1.LayersCropped := True;
ImageEnView1.IO.SaveToFilePDF(PDFFile);

Al

Loaded IEN:



Saved PDF:

xequte

6332 Posts

Posted - Sep 01 2021 :  17:21:13  Show Profile  Reply
Hi Al

Can you email me or attach an example IEN file.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

aleatprog

80 Posts

Posted - Sep 02 2021 :  03:19:29  Show Profile  Reply
Hi Nigel,

the IEN file is quite huge. I send it to you by email.

Al
Go to Top of Page

xequte

6332 Posts

Posted - Sep 02 2021 :  23:30:21  Show Profile  Reply
Thanks Al,

You can email me for a fix.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

aleatprog

80 Posts

Posted - Sep 03 2021 :  04:41:38  Show Profile  Reply
Hi Nigel,

did you correct PDF_PaperSize := iepAuto or the partially/non exported text layers or both?

Al
Go to Top of Page

xequte

6332 Posts

Posted - Sep 03 2021 :  21:34:23  Show Profile  Reply
Hi Al

Both issues.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: