I don't want to load the pdf in imageen. I want to be able to select an image or part of an image in a pdf file (or in a jpeg or bmp file) and drag the selected image into the imageen component.
I have been trying to find a component that can handle this.
What component do you want to use to select "an image or part of an image"? Although there may be one I do not know of any component for opening and viewing pdf files except the Adobe ActiveX. I could be wrong of course but I do not think it is possible with ImageEn.
All I am actually interested in doing is extracting the dib from the selected image and passing it into a stream, but I want to do this by way of drag and drop. It doesn't really matter to me what component is used as the drop target. I have been trying to do it via com using a panel, but have failed. I also tried melanders drag and drop components and these had partial success only. I then saw a one line comment from someone on a newsgroup that imageen had this capability but without further explanation so I thought I would explore.
If there is any component in ImageEn that has this capability that is the one for me. However, do not get hung on pdf and ImageEn's ability to load pdfs. It does not need to. In fact, let's say I never mentioned pdf. Instead I have Microsoft Paint open and I have selected a part of a bitmap in Paint and I want to drag that selected part of the bitmap onto a Delphi app and drop it and capture it. Does ImageEn have the ability to do that for me?