以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  快照功能如何设置分辨率?截出来的图片不清晰  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=184137)

--  作者:9EQ98
--  发布时间:2022/11/24 23:45:00
--  快照功能如何设置分辨率?截出来的图片不清晰
\'区域快照功能(与标题的层数有关)
With CurrentTable
    Dim n As Integer = .HeaderRows
    Dim img As Image = .Grid.CreateImage(.TopRow + n, .LeftCol+1, .BottomRow + n, .RightCol+1)
    Dim FileName As String = ProjectPath & "Attachments\\JP_Images\\" & Format(Date.Now(),"yyyyMMdd.HHmmss") & ".png"
    img.Save(FileName) \'指定的保存路径必须已经存在.否则会报错.
    Dim Proc As New Process
    Proc.File = FileName
    Proc.Start()
End With

--  作者:有点蓝
--  发布时间:2022/11/25 8:49:00
--  
无法设置分辨率