HtmlContainerGetElementRectangle 方法 |
Get the rectangle of html element as calculated by html layout.
Element if found by id (id attribute on the html element).
Note: to get the screen rectangle you need to adjust by the hosting control.
命名空间:
DSkin.Html
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法 public Nullable<RectangleF> GetElementRectangle(
string elementId
)
参数
- elementId
- 类型:SystemString
the id of the element to get its rectangle
返回值
类型:
NullableRectangleFthe rectangle of the element or null if not found
参见