点击或拖拽改变大小

DSkinHtmlLabelGetElementRectangle 方法

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.Controls
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public virtual Nullable<RectangleF> GetElementRectangle(
	string elementId
)

参数

elementId
类型:SystemString
the id of the element to get its rectangle

返回值

类型:NullableRectangleF
the rectangle of the element or null if not found
参见