Hello,
Thanks for your inquiry.
Are you using PdfViewer Control? If so, I suggest you use PdfDocumentViewer Control, due to the PdfViewer Control is an integral control, you can’t customize the internal logic, however, you can customize PdfDocumentViewer Control according to your requirements.
For your two requirements of setting filename when clicking save button and showing Print Dialogo when click print button, I created a demo project with PdfDocumentViewer Control for your reference, you can click the following link to download it and have a test.
- Code: Select all
https://www.e-iceblue.com/downloads/demo/31901Demo.zip
For more information on how to use PdfDocumentViewer Control, you can refer to the following help document:
- Code: Select all
https://www.e-iceblue.com/Tutorials/Spire.PDFViewer/Program-Guide.html
If you have any issue, just feel free to contact us.
Sincerely
Abel
E-iceblue support team