Info
Version: | 1.0.1 |
Author(s): | bambitlaw |
Last Update: | Friday, December 12, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://www.codeproject.com/Articles/20923/Mouse-Position-over-Image-in-a-PictureBox |
NuGet Url: | https://www.nuget.org/packages/PictureBoxExtended |
Install
Install-Package PictureBoxExtended
dotnet add package PictureBoxExtended
paket add PictureBoxExtended
PictureBoxExtended Download (Unzip the "nupkg" after downloading)
Since the position returned in mouse events for the control are relative to the control's base, the position over the image can be vastly different, depending on how the SizeMode property is set. This class helps resolve these differences.