
加好友 发短信
等级:贵宾
帖子:39310
积分:196782
威望:0
精华:1
注册:2015/4/25 9:23:00
|
Post By:2016/4/10 22:30:00 [显示全部帖子]
Dim img = Clipboard.GetImage() If img IsNot Nothing Then Dim path As String = ProjectPath & "Attachments/" If FileSys.DirectoryExists(path) = False Then FileSys.CreateDirectory(path) End If img.Save(path & "图片1.jpg") CurrentTable.Current(CurrentTable.ColSel) = "图片1.jpg" msgbox("保存成功") End If
|
|