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
 Layers in ImageenView with 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
tiagosis Posted - Jul 16 2021 : 11:17:59
hi, I'm using 10.0.1 to work with PDF in ImageenView, but my routines that used to work applying layers over imageemview stopped working when imageenview.pdfview.enabled := true; how to solve this?

tiago
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 21 2021 : 18:55:52
Hi Tiago

In this method, ImageEn rasterizes the PDF to bitmap, so ensure you are loading at reasonable size to maintain quality.

Either call LoadFromFilePDF() directly passing a size as parameters:

https://www.imageen.com/help/TImageEnIO.LoadFromFilePDF.html

Or set the AutoScaleImport properties:

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


Also, ensure that you have specified a zoom filter:

ImageEnView1.ZoomFilter := rfLanczos3;





Nigel
Xequte Software
www.imageen.com
tiagosis Posted - Jul 21 2021 : 17:23:48
I tried the solution indicated by you, but when I open the pdf using "loadfromfilepdf", imageenview distorts the PDF image making the printout illegible, how can I get around this? below is a screenshot of how it looks in imageenview.

tiago

xequte Posted - Jul 20 2021 : 16:58:06
No, that would create an unwieldy bitmap.

PDFViewer puts ImageEnView into a special display mode. Layers are not possible. This is outlined in the documentation.


Nigel
Xequte Software
www.imageen.com
tiagosis Posted - Jul 20 2021 : 09:44:35
if i do this will all pages of my pdf be displayed?

tiago
xequte Posted - Jul 20 2021 : 00:09:09
Hi Tiago

If you are looking to adorn a PDF page with arrows, etc, then don't enable ImageEnView.PDFViewer.

Instead just load the PDF page as a bitmap (ImageEnView.IO.LoadFromFilePDF). Then all the normal layer functionality will work.



Nigel
Xequte Software
www.imageen.com
tiagosis Posted - Jul 19 2021 : 08:45:15
I really need you to point me something in the sense of layer that works with PDF, we have a routine that works by dropping an image with layer over imageen and we can't give it up.

tiago
xequte Posted - Jul 16 2021 : 15:36:32
Hi Tiago

Yes, PDFViewer is not intended to be used with layers. Can you tell me more about what you are looking to do?

Nigel
Xequte Software
www.imageen.com