I am trying to get the width and height of the uploaded html file. This is what i have done so far.
WebBrowser wb = new WebBrowser();
int ht,wd;
wb.Navigate("D:\\page1.HTM");
ht = wb.Height;
wd = wb.Width;
But the above code always return me the wrong size of the page.
Can anyone help me to get the exact page size in the c# environment?
Thanks in advance.