I'm using a webBrowser control. After it is finished loading, I want to be able to determine what portion of the browser actually contains controls. For example, let's say the web page has a <CENTER> tag that centers the entire page within the browser. I'd like to be able to find out what the X coordinate is of the left side of the left-most displayed object, as well as the X coordinate of the right side of the right-most displayed object.
My reason for needing this information is that I want to take a "snapshot" image of the displayed page but have it include only the actual displayed parts of the page. I don't want to capture the whole browser image, just the portion of it that includes the actual page. I am able to grab a snapshot of it (using bitmap/Image operations) but I'd really like to be able to grab just the "important" parts.
So, is there any way to determine the left-most and right-most object positions?