Home > Net >  PDF browse ocx call axAcroPDF hide toolbar (save, print)
PDF browse ocx call axAcroPDF hide toolbar (save, print)

Time:10-08

Adobe acrobat as PDF browsing the plugin to use, sometimes want to shield plugin comes with "save" "print"
Controls own way this. AxAcroPDF1. SetShowToolbar (false); Sometimes is invalid, or in the hub view mode appeared toolbar
Can try to adobe acrobat version upgrade to more than X (X), use the following way
This. AxAcroPDF1. SRC=https://bbs.csdn.net/topics/pdfFileName + "# toolbar=0"
But the way was invalid on the previous version, there are one solution also please comment on low version,

CodePudding user response:

This. AxAcroPDF1. SetShowToolbar (false) need to write in this. AxAcroPDF1. SRC=https://bbs.csdn.net/topics/pdfFileName before work
  •  Tags:  
  • C#
  • Related