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
 PDFium - higlight text
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

marek

15 Posts

Posted - Jul 03 2021 :  15:17:29  Show Profile  Reply
Adobe Reader has the function "Highlight text".
The user can highlight any text in the file. If the file with the highlighted text is saved, then if you open the file next time the text is drawed highlited.
1. Is it possible to find such texts in the file and draw the texts higlighted?
2. Would it be possible to highlight the text and save it in the file (as Adobe it makes)?

Greetings,
Marek

xequte

38180 Posts

Posted - Jul 03 2021 :  17:52:08  Show Profile  Reply
Hi Marek

*** THIS METHOD IS NO LONGER VALID, SEE INFO BELOW INSTEAD ***

Saving of annotations is not yet supported, but is on the to-do list.

You can display the annotations using:

ImageEnView1.PdfViewer.DrawOptions := [proAnnotations];

(declared in iexPdfiumCore)

Note: DrawOptions is not documented, so we may change the way to access this functionality as our PDFium support evolves.

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

marek

15 Posts

Posted - Jul 04 2021 :  04:51:39  Show Profile  Reply
Display annotations works fine.

Thanks,
Marek
Go to Top of Page

harry stahl

Germany
62 Posts

Posted - Sep 23 2021 :  06:01:12  Show Profile  Reply
Displaying Annotations would be nice. When I try as desribed above, it does not work in the current version 10.2.
Is it no longer possible or has the way changed to reach this?

HS
Go to Top of Page

harry stahl

Germany
62 Posts

Posted - Sep 23 2021 :  06:08:45  Show Profile  Reply
OK, I see, this is displayed by default. Is there also a way to deactvate it?

HS
Go to Top of Page

xequte

38180 Posts

Posted - Sep 24 2021 :  02:00:38  Show Profile  Reply
Hi Harry

The option has now been surfaced under:

https://www.imageen.com/help/TIEPdfViewerInteraction.Options.html

i.e. you can use:

ImageEnView1.PdfViewer.Options := ImageEnView1.PdfViewer.Options - [iepoAnnotations];

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