Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, June 24, 2008 5:09:40 AM(UTC)

delemed  
delemed

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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, June 24, 2008 9:39:09 AM(UTC)

GregR  
GregR

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.050 seconds.