PeachBrackets

PeachBrackets.HtmlDocument

HtmlDocument.GetElementBounds(string) Method

The bounds of the element with the given id on its page, in points from the top-left of the content area, or null if there is no such element.

public System.Nullable<PeachDrawing.Core.Rect> GetElementBounds(string elementId);

Parameters

elementId System.String

the element’s id

Returns

System.Nullable<Rect>
the element’s rectangle, or null