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
 DPI for loading PDF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pcmueller77

12 Posts

Posted - Nov 06 2024 :  03:31:39  Show Profile  Reply
Hi, I'm trying to load a PDF for Tiff export with a higher DPi, as I read in the manual.


sourcePdf2 :TImageEnView;

// Register the PDFium Plug-In
IEGlobalSettings().RegisterPlugIns([ iepiPDFium ]);
// When rendering PDF files scale to double size
IEGlobalSettings().PdfViewerDefaults.DPI := 144; // PDF files are 72 DPI, so 144 is 200% size
sourcePdf2.IO.LoadFromFilePDF(pdfFilename);

I tried to, but IEGlobalSettings is inknmown in Delphi 11.
Thank you!!!

xequte

38608 Posts

Posted - Nov 06 2024 :  14:07:46  Show Profile  Reply
Hi

Have you added iesettings to your uses clause?

The required unit for each type/class is shown in the top-left of the documentation:

http://www.imageen.com/help/IEGlobalSettings.html


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

pcmueller77

12 Posts

Posted - Nov 07 2024 :  01:58:59  Show Profile  Reply
Thanks, like ever the correct answer! Now it works. With best regards, Thomas.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: