示例#1
0
        public static Bitmap GetScreenshot(this WebBrowser webBrowser, Size?size)
        {
            Bitmap screenshot = webBrowser.GenerateScreenshot(size);

            return(screenshot);
        }