I did a screen recorder and drew a rectangle to be a screen.
void ÇekimeBaşla()
{
Job = new ScreenCaptureJob();
System.Drawing.Size WorkingArea = SystemInformation.PrimaryMonitorSize;
Rectangle CaptureRect = new Rectangle(40, 40, WorkingArea.Width + 20000, WorkingArea.Height + 20000);
try
{
Job.CaptureRectangle = CaptureRect;
}
catch (ArgumentOutOfRangeException)
{
MessageBox.Show("A");
}
As you see I am using try and catch because the size is too big. But it doesn't records the full screen! Why could it be? Note: When the record is started the form automatically shrinks, why?