What I'm doing is defining OCR Zonal areas on a document, when I setup a zonal area, I show the areas I've defined on the document by doing a .DrawRectangle for each area. Now I have the ability to remove a zonal area, and I want to remove the rectangle relating to that zonal area, hope this explains it. Very similar to your OCR example.
I use the following code the draw the rectangle, I would like to remove the rectangle if need be.
true) != GdPictureStatus.OK)
MessageBox.Show("Cannot Draw Rectangle.");
Since you are drawing into a raster Image the only thing you can do is to implement your own undo / redo feature by using cloned version of your bitmap. This can be done using the CreateClonedGdPictureImage() method of the GdPictureImaging class.
Please let us know if you need further information.
With best regards,
Who is online
Users browsing this forum: No registered users and 5 guests