[英]hide toolbar of pdf in AxAcroPDF
Hi i am showing pdf document using C#.嗨,我正在使用 C# 显示 pdf 文档。 i just want to show pdf document without showing tool bar.please answer anyone.this is my code我只想显示 pdf 文档而不显示工具栏。请回答任何人。这是我的代码
axAcroPDF1.setShowToolbar(false);
this.axAcroPDF1.LoadFile(@"C:\Users\Chinna\Desktop\Sample.pdf");
setShowtoolbar(fasle) property is not working setShowtoolbar(fasle) 属性不起作用
i want to hide this toolbar in my pdf document我想在我的 pdf 文档中隐藏这个工具栏
you should load file first then setShowToolbar
to false你应该先加载文件然后将setShowToolbar
为false
axAcroPDF1.LoadFile(@"C:\Users\Chinna\Desktop\Sample.pdf");
axAcroPDF1.src = @"C:\Users\Chinna\Desktop\Sample.pdf";
axAcroPDF1.setShowToolbar(false);
axAcroPDF1.Show();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.