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 : Friday, November 7, 2008 2:19:31 AM(UTC)
ramya palaniraj

Groups: Registered
Posts: 10


Hi, 
  I'm using Licensed Leadtools version 15.0I have added Zoom Action in medicalviewer.
_medicalviewer.SetAction(MedicalViewerActionType.Scale,MedicalViewerMouseButtons.Left,
MedicalViewerActionFlags.Active)
     Its working perfectly.But i want to zoom(+) action not to exceed the Original image Size.
Using this below code i will get the original image size.
_medicalviewer.cells(0).FitImageToCell() = False
But how to check whether the image has reached its original size or not when zoom action is performed.how to do this?.This issues is very urgent. please help me out.
 

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 : Sunday, November 9, 2008 5:54:53 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,034

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

Ramya,
Try to use the GetActionProperties method to obtain the properties of the selected action, and pass MedicalViewerActionType.Scale with the cell index.
 
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.126 seconds.