コード例 #1
0
        /// <summary>
        /// Resizes the browser window to selected width.
        /// </summary>
        /// <param name="width">The window width.</param>
        public void ResizeBrowserWindow(int width)
        {
            Rectangle rect = new Rectangle(200, 200, width, 500);

            ActiveBrowser.ResizeContent(rect);
            ActiveBrowser.RefreshDomTree();
        }