Page 1 of 1
how to fill an area with white
Posted: Wed Jun 24, 2015 12:09 pm
by zhuseeav
I am a trial user,
How to select a region(area) by the mouse,
And fill it with white?
Re: how to fill an area with white
Posted: Thu Jun 25, 2015 12:10 pm
by Romain
Hello
First, you have to set the viewer MouseMode property to MouseModeAreaSelection :
https://www.gdpicture.com/guides/gdpicture/web ... eMode.html.
After that, users can draw a selection area.
You can get the coordinates with this method :
https://www.gdpicture.com/guides/gdpicture/web ... ument.html
And fill with a rectangle with this method :
https://www.gdpicture.com/guides/gdpicture/GdP ... an%29.html
With best regards,
Romain
GdPicture Team
Re: how to fill an area with white
Posted: Fri Jun 26, 2015 7:17 am
by zhuseeav
Thanks