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
 How to prevent selecting PDF image objects in ImageEnView

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
DenisViz Posted - Oct 06 2025 : 07:09:36
Hi everyone,

I’m using ImageEnView in Delphi to work with PDF files. On a PDF page, I have text objects and images.

My goal: clicking on an image should NOT select it, while text objects should still be selectable as usual.

Currently, I tried using the OnUserInteraction event with ieiPDFObjectSelected:

procedure TfrmMain.ImageEnView1UserInteraction(Sender: TObject; Event: TIEUserInteractionEvent; Info: Integer);
begin
  if Event = ieiPDFObjectSelected then
  begin
    if ImageEnView1.PdfViewer.Objects[Info].ObjectType = ptImage then
      ImageEnView1.PdfViewer.SelectedObject := -1; // deselect
  end;
end;


However, the image still gets briefly selected before the deselection happens.
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 13 2025 : 00:10:23
Hi

This is supported in the latest beta. Please email me for it.

Note: Ensure that you check that info is a valid index (i.e. >= 0 )

Nigel
Xequte Software
www.imageen.com
xequte Posted - Oct 06 2025 : 08:14:01
Hi Denis

That level of selection support is not yet available, but let me look into it when I'm back in the office next week.

Nigel
Xequte Software
www.imageen.com