Welcome to LEAD Support Forum Login | Register | Faq  

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

Re: How to check Image has reached original size
Started by ramya palaniraj at 11-07-2008 7:24. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  11-07-2008, 7:24
ramya palaniraj is not online. Last active: 12/3/2008 9:05:14 AM ramya palaniraj

Top 100 Posts
Joined on 07-07-2008
Posts 24
How to check Image has reached original size
Reply Quote
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.
   Report 
  11-09-2008, 10:59
Adam Boulad is not online. Last active: 1/6/2009 1:25:47 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 540
Re: How to check Image has reached original size
Reply Quote
Ramya,
Try to use the GetActionProperties method to obtain the properties of the selected action, and pass MedicalViewerActionType.Scale with the cell index.
Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » General » Example Request... » Re: How to check Image has reached original size

Powered by Community Server, by Telligent Systems