https://www.docuvieware.com/guides/aspn ... ation.html
But it seems does not prompt to request password if the document was secure with a password.
I tried the online Demo which able to prompt and input password...
May I know how to handle with the document secure with password?
How do you load the document in the viewer?
Could you try using this way:
docuVieware.LoadFromStream(new FileStream(Globals.GetDocumentsDirectory() + @"\st_exupery_le_petit_prince.pdf", FileMode.Open, FileAccess.Read), true, "document.pdf");
You can also check the code into our sample on your local machine here: C:\GdPicture.NET 14\Samples\ASP.NET\DocuVieware (.NET Core)\aspnetcore-mvc_razor_app
It is the same code as our online demo.
Fabio de Rose
Who is online
Users browsing this forum: No registered users and 1 guest