VintaSoft Imaging .NET SDK and Plug-ins Discussions

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

"ZoomSelection" - immediately after release of mousebutton



"ZoomSelection" - immediately after release of mousebutton

Post 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

Post by Alex »

Hello Magnus,

Please download the latest version (4.3.27.9) of VintaSoftImaging.NET SDK and use the class below:
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

Post by mange71 »

Then i would need the download link to that version. ;)


Re: "ZoomSelection" - immediately after release of mousebutton

Post by Alex »

Hello Magnus,

Please contact support with this problem. :-)

Best regards, Alexander


Page 1 from 1: 1