Welcome to LEAD Support Forum Login | Register | Faq  

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

rotate option in medicalviwer
Started by sakthi at 06-11-2008 8:13. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  06-11-2008, 8:13
sakthi is not online. Last active: 8/29/2008 6:11:52 AM sakthi

Top 50 Posts
Joined on 05-09-2008
Posts 46
rotate option in medicalviwer
Reply Quote

     I am using v.15 and medicalviewer demo as my sample program...I would like to add rotation features to this medicalviewer demo....I have tried to add maindemo sample s rotation method but its not working ...here...

" ImageToRun.RotateViewPerspective(90)"...correct me if i went wrong somewhere

Is these method avialable for this MedicalViewer...
How to do ???can u please giude me...
Thanks
Sakthi
   Report 
  06-11-2008, 9:40
Qasem Lubani is not online. Last active: 8/27/2008 3:13:14 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,034
Re: rotate option in medicalviwer
Reply Quote

you can take the image form the cell to an external raster image object, rotate the image there and put it back in the cell.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  07-22-2008, 2:20
sakthi is not online. Last active: 8/29/2008 6:11:52 AM sakthi

Top 50 Posts
Joined on 05-09-2008
Posts 46
Re: rotate option in medicalviwer
Reply Quote
Hi
I tried to rotate imge but its not coming correctly ,Some portion of image is clipped ....Please check my code ...and correct me

dim _image as rasterimage  = _medicalViewer.Cells(0).Image
                _medicalViewer.Cells.RemoveAt(0)
                _image.RotateViewPerspective(90)
                _medicalViewer.Cells.Add(New MedicalViewerCell(_image))


thanks
Sakthi


   Report 
  07-22-2008, 9:52
Qasem Lubani is not online. Last active: 8/27/2008 3:13:14 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,034
Re: rotate option in medicalviwer
Reply Quote

Instead of using the RotateViewPerspective, try to use the RotateCommand class.

Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » DICOM/Medical I... » rotate option in medicalviwer

Powered by Community Server, by Telligent Systems