This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, June 11, 2008 3:08:46 AM(UTC)
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
#2
Posted
:
Wednesday, June 11, 2008 4:35:49 AM(UTC)
Groups: Guests
Posts: 3,022
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)
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)
Groups: Guests
Posts: 3,022
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.