我正在尝试直接从使用 Visual Basic 2010 中的 Adobe PDF 阅读器控件制作的 PDF 查看器中复制选定的文本。
我可以使用 Word 中的宏使用突出显示文本:
Private Sub CommandButton1_Click()
Dim Sel As Selection
Set Sel = Application.Selection
If Sel.Type <> wdSelectionIP Then
MsgBox Sel.Text
End If
End Sub
我无法确定这段代码是否可用于使用 Adobe PDF Reader 对突出显示的文本执行操作。如果没有,有人知道我会怎么做吗?