Hi guys,
I would like to display PDF content in my forms.
I have found components: BGRABitmap, BGRAControls and included these in my project
I have found libmuPDF.pas and included this in my project too
I have found libmuPDF.DLL and put in in the project directory
Now I can run the code. So far, so good.
After I have selected a PDF, it is loaded into the virtualscreen. If I use the sliders, I can see the whole page is there.
Problem:
I cannot get a copy of the whole VirtualScreen Bitmap in my TImage, only the visible part.
Questions:
What would be the best way to copy the content of the virtualscreen to a Timage?
Could this be done if the virualscreen is nowhere visible?
I have enclosed some code to demonstrate my point.