点击或拖拽改变大小

HtmlImageLoadEventArgsCallback 方法 (String, Double, Double, Double, Double)

Callback to overwrite the loaded image with image to load from given URI.
Can be called directly from delegate handler or asynchronously after setting Handled to True.
Only the specified rectangle (x,y,width,height) will be used from the loaded image and not all of it, also the rectangle will be used for size and not the actual image size.

命名空间:  DSkin.Html.Core.Entities
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void Callback(
	string path,
	double x,
	double y,
	double width,
	double height
)

参数

path
类型:SystemString
the path to the image to load (file path or URL)
x
类型:SystemDouble
optional: limit to specific rectangle of the image and not all of it
y
类型:SystemDouble
optional: limit to specific rectangle of the image and not all of it
width
类型:SystemDouble
optional: limit to specific rectangle of the image and not all of it
height
类型:SystemDouble
optional: limit to specific rectangle of the image and not all of it
参见