Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i want to hide toolbar in pdf viewer my code is below:

AxAcroPDFLib.AxAcroPDF axAcropdf = new AxAcroPDFLib.AxAcroPDF();
axAcropdf.CreateControl();
axAcropdf.LoadFile(@"E:\FaisalData\E-Books\Hands on ASP.NET GridView.pdf");
axAcropdf.src = @"E:\FaisalData\E-Books\Hands on ASP.NET GridView.pdf";
axAcropdf.setShowToolbar(false);
axAcropdf.Show();

but file is not showing ...

where is the problem??

please reply me urgent...

thanks..

What I have tried:

AxAcroPDFLib.AxAcroPDF axAcropdf = new AxAcroPDFLib.AxAcroPDF();
axAcropdf.CreateControl();
axAcropdf.LoadFile(@"E:\FaisalData\E-Books\Hands on ASP.NET GridView.pdf");
axAcropdf.src = @"E:\FaisalData\E-Books\Hands on ASP.NET GridView.pdf";
axAcropdf.setShowToolbar(false);
axAcropdf.Show();
Posted
Comments

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900