I am trying to create an image of a Panel and save it to a folder. The problem is the panel has scrollbars and the image generated is only for the visible portion of the Pan
Consider temporarily increasing the panel's size, calling p.Layout(), then p.DrawToImage()