LEADTOOLS Support
General
General Questions
How can i lock the Scale value when i Zoom the image?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, October 22, 2008 7:34:41 PM(UTC)
Groups: Registered
Posts: 53
Hello
I am
using lead tools licensed version 15.0, working in VB.Net environment using
Medical Viewer demo project. how can i restrict the Scale value when i gone to particular(original image size)size?Does is it possible? waiting for quick reply...
#2
Posted
:
Thursday, October 23, 2008 5:54:20 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Do you mean you want to limit the allowed values of zooming percent to a specific range? If yes, how exactly are you performing zooming?
#3
Posted
:
Thursday, October 23, 2008 8:10:26 PM(UTC)
Groups: Registered
Posts: 53
Hi
yes.. i want to limit the Zooming action. i am using the following code for perfom zooming action.
****************************************************************************
_medicalViewer.SetAction(MedicalViewerActionType.Scale,
MedicalViewerMouseButtons.Left, MedicalViewerActionFlags.Active)
********************************************************************
suppose when i perform zooming action that image size(width and height) will be increasing in this case(that image reaches original size(width and height) ) i want to limit or stop the scale action properties.
#4
Posted
:
Sunday, October 26, 2008 5:16:16 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If you don't want the zoom factor to go above 100%, try to detect when the zooming is being done, and when the scale goes above 100%, change it using the Leadtools.MedicalViewer.MedicalViewerScale Class.
LEADTOOLS Support
General
General Questions
How can i lock the Scale value when i Zoom the image?
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.