I followed the following in post on"Creating a screen magnifier".
Therefore I have this code. It is not copy & pasted from the post. I have also added a timer so the form is not blank. However I have found some problems.
- It doesn't zoom in very much. I would like to have a larger zoom. An adjustable zoom setting will be optimal, but I can make that myself if I know how to zoom in more.
- The center of the form is not always the tip of the cursor like I want it would be. Is there anyway I can Fix this?
Here is the code I have got now.
Graphics g;
Bitmap bmp;
private void Timer1_Tick(object sender, EventArgs e)
{
bmp = new Bitmap(250, 200);
g = this.CreateGraphics();
g = Graphics.FromImage(bmp);
g.CopyFromScreen(MousePosition.X , MousePosition.Y , 0, 0, new Size(300, 300));
pictureBox1.Image = bmp;
}
The results seem to be exactly the same to this software that I found during my research.the link, It takes you to a Japanese webpage.