02-19-2014 01:50 PM
I am trying to use an intensityGraph1.ZoomAroundPoint(1.5F, pointf ) to Zoom from the point where the intensity cursor sits.
How can I convert my cursor X,Y to a poinfF type? I tried the following but the zoom was not of cursors crosshairs.
I am using Measurement Studio 2013 in C#
Point point = new Point((int)intensityCursor.XPosition, (int)intensityCursor.YPosition);
pointf = intensityGraph.PointToVirtual(point);
intensityGraph1.ZoomAroundPoint(1.5F, pointf );
Thanks,
Bill D.
02-20-2014 08:46 AM
Hello Bill,
I'd recommend you to customize your mouse cursor. Please take a look to this article:
Mouse Cursor Customizability with Measurement Studio Windows Forms .NET Controls
Regards,
Carmen C