0

trying to get width and height of webBrowser form as variable.

var width = webBrowser1.Width;
var height = webBrowser1.Height;

save another similar post where the code was:

webBrowser1.Document.Body.ScrollRectangle.Height;

but could not get that to work.

I've notice there is a property called 'size' in layout properties but wasn't able to get the value

0 Answers0