سؤال

I have an ASP.net web page embeded a pdf file using the object tag as below:

    <object data="<%=this.FilePath %>" type="application/pdf" style="width:600px; height:820px; border:solid 1px #888;">
    <embed src="<%=this.FilePath %>" type="application/pdf" />
    </object>

The viewer run good and I assume all client PCs have Adobe Reader installed.
I want to make a button to simply:

  1. remove the button panel of adobe reader
  2. create a button to print the pdf document(using the reader's API or any other method)
هل كانت مفيدة؟

المحلول

That type of customization isn't possible in the Acrobat Reader Plugin AFAIK.

You can hide the default button panel by adding #toolbar=0 to the url, but the user can just 'unhide' it if he wants.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top