Welcome to LEAD Support Forum Login | Register | Faq  

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

Start animation automatically when loading multiframe image
Started by AndreaCaloni at 11-12-2008 5:33. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  11-12-2008, 5:33
AndreaCaloni is not online. Last active: 11/17/2008 9:54:53 PM AndreaCaloni

Not Ranked
Joined on 10-29-2008
Italy
Posts 1
Start animation automatically when loading multiframe image
Reply Quote
how can I start automatically the animation when I load a multiframe dicom image ?
In order to load the file, I use a backgroundworker, as illustrated in your sample "NET - V15 - Load Files BackgroundWorker".
I was able to start the cine only after the file loading was finished, in this way:
myMedicalViewer.Cells[0].Animation.Animated = true;
I tried to set Animation.Animated = true inside the _BackgoundWorker_DoWork event, or in the _BackgoundWorker_ProgressChanged event, but the animation is not starting.
Is there a way to start the cine automatically ?
Andrea C.
   Report 
  11-12-2008, 11:53
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,364
Re: Start animation automatically when loading multiframe image
Reply Quote
One way to animate the frames while loading the image is to use the RasterImageViewer control and paint the frames while loading. At the same time pass each frame you load on the RasterImageViewer to the MedicalViewer cell.
This will give you some sort of animation during loading. After you're done, you can use the animation feature of the Medical Viewer.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » DICOM/Medical I... » Start animation automatically when loading multiframe image

Powered by Community Server, by Telligent Systems