Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Control the repaint
Started by delemed at 06-24-2008 10:14. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  06-24-2008, 10:14
delemed is not online. Last active: 6/25/2008 3:42:49 PM delemed

Top 150 Posts
Joined on 04-11-2008
Posts 19
Control the repaint
Reply Quote
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

   Report 
  06-24-2008, 14:44
GregR is not online. Last active: 8/29/2008 2:25:56 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,541
Re: Control the repaint
Reply Quote
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.

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Image Display » Re: Control the repaint

Powered by Community Server, by Telligent Systems