选定表格区域截图时,为什么会多出第1列????
OUTPUT.SHOW("表头: " & CurrentTable.HeaderRows)
OUTPUT.SHOW("行上: " & CurrentTable.TopRow)
OUTPUT.SHOW("行下: " & CurrentTable.BottomRow)
OUTPUT.SHOW("列左: " & CurrentTable.LeftCol)
OUTPUT.SHOW("列右: " & CurrentTable.RightCol)
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 & "test.jpg"
img.Save(FileName) '指定的保存路径必须已经存在.否则会报错.
Dim Proc As New Process
Proc.File = FileName
Proc.Start()
End With

这个表,列对了,但行又错了?
[此贴子已经被作者于2022/10/31 0:08:24编辑过]