I am able to get the width and length of the picturebox1, but i cant find the correct code to get the x and y position of the picturebox1, i have already tried following code;
job = new ScreenCaptureJob();
System.Drawing.Size area = SystemInformation.WorkingArea.Size;
Rectangle captureRect = new Rectangle(0, 0, pictureBox1.ClientSize.Width -(pictureBox1.ClientSize.Width % 4), pictureBox1.ClientSize.Height - (pictureBox1.ClientSize.Height % 4));
I used screencapturejob from MEE to do the recording process.