This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, June 24, 2008 5:09:40 AM(UTC)
Groups: Registered
Posts: 12
Im working with an RasterImage (displayed in an RasterImageViewer) on which I would like to draw different objects like rectangles, circles etc... How can I handle the repainting of the image in a smart way? Is it possible to repaint only single regions of an RasterImage? Is it possible to stop the "auto-redraw" of my RasterImage or the RasterImageViewer and handle it by myself?
RasterImaging Pro V15
Greets Jonas
#2
Posted
:
Tuesday, June 24, 2008 9:39:09 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
There are several painting events you can handle with the RasterImageViewer. Since you want to draw other objects on top of the image, you will probably want to use the PostImagePaint event.
If you want to do completely manual painting, you can use the RasterImage.Paint method. If you did this, you will probably not want to use the RasterImageViewer because you'll have to fight with its events.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.