Draw rectangle in GDViewer with open PDF file

Discussions about image processing and document imaging.
Post Reply
scastel
Posts: 4
Joined: Fri Dec 13, 2019 10:57 am

Draw rectangle in GDViewer with open PDF file

Post by scastel » Fri Feb 14, 2020 6:04 pm

I would like to know what would be the best way to draw a rectangle in GDViewer with a PDF file of multiple pages open.
I am using the Gdpicture.NET 14 DLL

Generated the rectangle SetRectCoordinatesOnDocument()
Image

when the MouseMode changes from MouseModeAreaSelection to MouseModePan
Image

Thanks.
Regards

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

Re: Draw rectangle in GDViewer with open PDF file

Post by Hugo » Fri Feb 21, 2020 3:12 pm

Hi there,

You seem to be overcomplicating this simple process.
Please use this straight forward method to interactively draw a rectangle on the page loaded in your viewer: https://www.gdpicture.com/guides/gdpicture/GdP ... ctive.html

Regards,

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest