Page 1 of 1

"ZoomSelection" - immediately after release of mousebutton

Posted: Tue Aug 30, 2011 12:23 pm
by mange71
Hi,

I was wondering if there is a way to make the "ZoomSelection" to happen immediately on releasing the button instead of when you click in the region.

Regards,
Magnus

Re: "ZoomSelection" - immediately after release of mousebutton

Posted: Wed Aug 31, 2011 3:39 pm
by Alex
Hello Magnus,

Please download the latest version (4.3.27.9) of VintaSoftImaging.NET SDK and use the class below:

Code: Select all

class MyZoomSelection : ZoomSelection
{
    public MyZoomSelection(ImageViewer viewer)
        : base(viewer)
    {
    }

    protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
    {
        base.OnMouseUp(e);

        Zoom();
    }
}
Best regards, Alexander

Re: "ZoomSelection" - immediately after release of mousebutton

Posted: Wed Aug 31, 2011 4:36 pm
by mange71
Then i would need the download link to that version. ;)

Re: "ZoomSelection" - immediately after release of mousebutton

Posted: Thu Sep 01, 2011 8:26 am
by Alex
Hello Magnus,

Please contact support with this problem. :-)

Best regards, Alexander