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
 Scan an A3-Scan and save as PDF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

King-Soft

Germany
2 Posts

Posted - Jul 29 2020 :  08:57:57  Show Profile  Reply
I use your Demo "TwainDemo" and added some buttons to save the TImageEnView to a PDF:
Saving to a Blob-Field:
stream := TMemoryStream.Create;
stream.Position := 0;
ImageEnView1.IO.Params.PDF_Author := 'King-Soft';
ImageEnView1.IO.Params.PDF_Title := 'PDF';
ImageEnView1.IO.Params.PDF_Compression := ioPDF_JPEG;
ImageEnView1.IO.SaveToStreamPDF(Stream);

Saving to a file:
ImageEnView1.IO.SaveToFilePDF('C:\Temp\'+sFileName);

That works fine with the size A4.

If i scan a A3-Scan, the size of the PDF-Page ist everytimes A4!!!
How can i save in A3-Size ?

xequte

38611 Posts

Posted - Jul 29 2020 :  23:00:06  Show Profile  Reply
Hi

Please use:

ImageEnView1.IO.Params.PDF_PaperSize := iepA3;

https://www.imageen.com/help/TIOParams.PDF_PaperSize.html

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