I am looking to get full height picture of form but I am only able to get the screenshot of only whats visible but I want to get screenshot of full form which has content beyond visible part.
I already saw there was solution for listbox How can I take a screenshot of a Winforms control/form in C#? but i am looking generate full page image of form I can't quite figure it out.
This my current code:
Bitmap image = new Bitmap(form.Width, form.Height);
form.DrawToBitmap(image, new Rectangle(new Point(0, 0), image.Size));
return image;