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 : Wednesday, June 11, 2008 3:08:46 AM(UTC)

sakthi  
sakthi

Groups: Registered
Posts: 26



     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
 

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 : Wednesday, June 11, 2008 4:35:49 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 2 time(s) in 2 post(s)


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.
 
#3 Posted : Monday, July 21, 2008 9:15:09 PM(UTC)

sakthi  
sakthi

Groups: Registered
Posts: 26


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

 
#4 Posted : Tuesday, July 22, 2008 4:47:32 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 2 time(s) in 2 post(s)


Instead of using the RotateViewPerspective, try to use the RotateCommand class.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.112 seconds.