how to hide the toolbar in pdf viewer getting Base64 encoded
In pega is possible to show in several ways show the PDF file.
But the requirement by my client is "show the pdf content" and restrict the options to print/download the file.
Then, the option could be hide the toolbar.
I have used the function tools.sendFile(byteArray, "name of file.pdf",boolean; headers, booleanToDownload) to show pdf files, but this api don´t have the option to hide the toolbar.
Is ther any option to show a PDF and restrict print and download the file?
Thanks in advance.