Screenshot of form whose dimensions are greater than screen dimensions Screenshot of form whose dimensions are greater than screen dimensions windows windows

Screenshot of form whose dimensions are greater than screen dimensions


At first you have to make sure the form has no scrollbars. For that you can write an event handler for FormConstrainedResize and adjust MaxWidth and MaxHeight to your needs. If the form size is restricted during design, set the required Width and Height in the FormCreate event to the desired values.

Now you can use GetFormImage to get the screenshot.