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
 DPI for loading PDF

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
pcmueller77 Posted - Nov 06 2024 : 03:31:39
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!!!
2   L A T E S T    R E P L I E S    (Newest First)
pcmueller77 Posted - Nov 07 2024 : 01:58:59
Thanks, like ever the correct answer! Now it works. With best regards, Thomas.
xequte Posted - Nov 06 2024 : 14:07:46
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