【问题标题】:Hiding Adobe Toolbars, menubars, scrollbar, etc隐藏 Adob​​e 工具栏、菜单栏、滚动条等
【发布时间】:2011-12-16 15:43:37
【问题描述】:

我正在使用“Adobe Acrobat 7.0 Browser Control Type Library 1.0”控件在我的 vb.net 应用程序中查看 PDF。我希望它只显示没有菜单和工具栏的 PDF。我使用了以下代码:

AxAcroPDF1.LoadFile("C:\ShippingForm.pdf")
AxAcroPDF1.src = "C:\ShippingForm.pdf"
AxAcroPDF1.setShowToolbar(False)
AxAcroPDF1.setView("fitH")
AxAcroPDF1.setLayoutMode("SinglePage")
AxAcroPDF1.setShowScrollbars(False)

AxAcroPDF1.Show()

我仍然在面板左侧看到导航面板。是否有人知道哪种方法会禁用此功能或可能是所有方法的列表?谷歌搜索没有找到任何地方。

【问题讨论】:

    标签: vb.net acrobat


    【解决方案1】:

    我相信你需要:

    AxAcroPDF1.setPageMode("none")
    

    这会关闭缩略图和书签。

    有一个不错的参考文档位于here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-02-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多