点击或拖拽改变大小

RAdapterSaveToFile 方法

Save the given image to file by showing save dialog to the client.
Not relevant for platforms that don't render HTML on UI element.

命名空间:  DSkin.Html.Adapters
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void SaveToFile(
	RImage image,
	string name,
	string extension,
	RControl control = null
)

参数

image
类型:DSkin.Html.AdaptersRImage
the image to save
name
类型:SystemString
the name of the image for save dialog
extension
类型:SystemString
the extension of the image for save dialog
control (Optional)
类型:DSkin.Html.AdaptersRControl
optional: the control to show the dialog on
参见