Page 1 of 1

Draw rectangle in GDViewer with open PDF file

Posted: Fri Feb 14, 2020 6:04 pm
by scastel
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

Re: Draw rectangle in GDViewer with open PDF file

Posted: Fri Feb 21, 2020 3:12 pm
by Hugo
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,